[PATCH] bus: invoke TAILQ_REMOVE when bus cleanup
Morten Brørup
mb at smartsharesystems.com
Thu Feb 20 11:31:43 CET 2025
> From: Chengwen Feng [mailto:fengchengwen at huawei.com]
> Sent: Thursday, 20 February 2025 09.09
>
> Although eal_bus_cleanup() is not invoked for multiple times, this is a
> good programming habit to remove the device object from list when
> cleanup bus.
>
> Fixes: 1cab1a40ea9b ("bus: cleanup devices on shutdown")
> Fixes: 62b906cf06ba ("bus/uacce: introduce UACCE bus")
> Fixes: 65780eada9d9 ("bus/vmbus: support cleanup")
> Cc: stable at dpdk.org
>
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
> ---
Thank you for cleaning this up.
Acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list