[PATCH] bus: invoke TAILQ_REMOVE when bus cleanup

Thomas Monjalon thomas at monjalon.net
Mon Jun 9 11:10:29 CEST 2025


20/02/2025 11:31, Morten Brørup:
> > 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>

Applied, thanks.




More information about the dev mailing list