Re: [PATCH] spi: add missing pci_dev_put() before return

From: Andy Shevchenko
Date: Wed Feb 23 2022 - 14:11:10 EST


On Tue, Feb 15, 2022 at 6:04 AM Qing Wang <wangqing@xxxxxxxx> wrote:
>
> From: Wang Qing <wangqing@xxxxxxxx>
>
> pci_get_slot() increases its reference count, the caller must
> decrement the reference count by calling pci_dev_put()

Thanks for the report!

This is not fully correct. I'll send a patch soon.

--
With Best Regards,
Andy Shevchenko