summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-09-17 10:22:44 +0000
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-09-25 15:40:44 +0200
commit521ad948e04934b2d70ae899bc016bbb38802e90 (patch)
tree1be0560c25f197246c4ae3bdcd66e65b6281a559 /scripts/Makefile.thinlto
parent1a122f5fecbabd47b81b1be3f0934f57b78aad42 (diff)
downloadlinux-521ad948e04934b2d70ae899bc016bbb38802e90.tar.gz
linux-521ad948e04934b2d70ae899bc016bbb38802e90.zip
mtd: maps: l440gx: Fix double put of the ISA bridge in init_l440gx()
init_l440gx() takes a single reference on the PIIX4 ISA bridge with pci_get_device() and drops it again right after the lookups, before the flash window is set up. The pci_assign_resource() failure path then calls pci_dev_put() on the same device a second time, releasing a reference that is no longer owned and underflowing the reference count. Remove the extra pci_dev_put(). Fixes: dd8e9ed6ed54 ("[MTD] Switch to pci_get_device and do ref counting") Cc: stable@vger.kernel.org Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions