Re: [PATCH] platform/x86: mlx-platform: call pci_dev_put() to balance the refcount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 16 Dec 2024 11:25:38 +0900, Joe Hattori wrote:

> mlxplat_pci_fpga_device_init() calls pci_get_device() but does not
> release the refcount on error path. Call pci_dev_put() on the error path
> and in mlxplat_pci_fpga_device_exit() to fix this.
> 
> This bug was found by an experimental static analysis tool that I am
> developing.
> 
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: mlx-platform: call pci_dev_put() to balance the refcount
      commit: 185e1b1d91e419445d3fd99c1c0376a970438acf

--
 i.





[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux