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

Andy Shevchenko andy.shevchenko at gmail.com
Wed Feb 23 11:09:38 PST 2022


On Tue, Feb 15, 2022 at 6:04 AM Qing Wang <wangqing at vivo.com> wrote:
>
> From: Wang Qing <wangqing at vivo.com>
>
> 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



More information about the linux-arm-kernel mailing list