summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMyeonghun Pak <mhun512@gmail.com>2026-09-14 21:06:47 -0400
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-09-25 15:40:16 +0200
commit3be16e5d4990bf96309ac5ba35cb369c6015bce7 (patch)
tree2c390042e36d77da22ac5f7dfabe72bb8d9088ff /scripts/Makefile.thinlto
parent8fcbb04ee5152b303980b2b48d69c6f7f4094ca6 (diff)
downloadlinux-3be16e5d4990bf96309ac5ba35cb369c6015bce7.tar.gz
linux-3be16e5d4990bf96309ac5ba35cb369c6015bce7.zip
mtd: maps: pci: balance PCI enable on cleanup
mtd_pci_probe() leaves the PCI device enabled on later probe failure and mtd_pci_remove() does not disable it either. Use pcim_enable_device() to release the enable reference after the existing map and region cleanup. The imbalance is already present in the initial Git import. This issue was identified during our ongoing static-analysis research while reviewing kernel code. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Cc: stable@vger.kernel.org Assisted-by: LLM Co-developed-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Myeonghun Pak <mhun512@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions