Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: be5770f30516505c1a4d35efcffff9fb547f7dcf https://github.com/OpenAMP/open-amp/commit/be5770f30516505c1a4d35efcffff9fb5... Author: Arnaud Pouliquen arnaud.pouliquen@foss.st.com Date: 2025-12-05 (Fri, 05 Dec 2025)
Changed paths: M lib/remoteproc/remoteproc.c
Log Message: ----------- lib: remoteproc: Fix remoteproc_remove_virtio
The code contains redundant checks with both metal_assert(vdev) and if (!vdev). Moreover, if the assert is disabled, it may lead to dereferencing a null pointer. We should not rely on asserts for API validation. Instead, replace the assert with an error message.
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@foss.st.com
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
openamp-rp@lists.openampproject.org