Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: de33a8d6756a7faefe2eeee4edd1bc76eb412d49 https://github.com/OpenAMP/open-amp/commit/de33a8d6756a7faefe2eeee4edd1bc76e... Author: Arnaud Pouliquen arnaud.pouliquen@foss.st.com Date: 2023-10-19 (Thu, 19 Oct 2023)
Changed paths: M lib/include/openamp/virtio.h
Log Message: ----------- virtio: Fix delete_virtqueues function
The function should return void. the reason is that vdev->func->delete_virtqueues() is optional and return void.
To be generic we should call virtio_delete_virtqueues in all cases. Then depending on the dispatcher we do nothing or call delete_virtqueues()
Fixes: 7f90610 ("virtio: add create_virtqueues and delete_virtqueues in virtio_dispatch")
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@foss.st.com
openamp-rp@lists.openampproject.org