[PATCH v2 05/18] PCI: endpoint: test: Synchronously cancel command handler work

Niklas Cassel cassel at kernel.org
Fri Apr 5 06:41:19 PDT 2024


On Wed, Apr 03, 2024 at 01:17:02PM +0530, Manivannan Sadhasivam wrote:
> On Sat, Mar 30, 2024 at 01:19:15PM +0900, Damien Le Moal wrote:
> > Replace the call to cancel_delayed_work() with a call to
> > cancel_delayed_work_sync() in pci_epf_test_unbind(). This ensures that
> > the command handler is really stopped when proceeding with dma and bar
> > cleanup.
> > 
> > Signed-off-by: Damien Le Moal <dlemoal at kernel.org>
> 
> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam at linaro.org>
> 
> - Mani
> 
> > Reviewed-by: Frank Li <Frank.Li at nxp.com>
> > ---

Reviewed-by: Niklas Cassel <cassel at kernel.org>



More information about the linux-arm-kernel mailing list