aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-07-24 16:38:06 +0100
committerJeff Garzik <jgarzik@redhat.com>2008-07-31 01:38:19 -0400
commite8389f0c44652ee63d95bc0a7f8d565ac25dac77 (patch)
treec3fd2a632c1c3871024882cae43d8efda32aec9e /drivers/ata/libata.h
parentMerge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (diff)
downloadlinux-dev-e8389f0c44652ee63d95bc0a7f8d565ac25dac77.tar.xz
linux-dev-e8389f0c44652ee63d95bc0a7f8d565ac25dac77.zip
pata_ali: misplaced pci_dev_put()
The ali_init_one() function does a search for an isa_bridge, but then fails to release it if the revision information was not correctly found. the problem comes from: isa_bridge = pci_get_device(...); if (isa_bridge && ...) { pci_dev_put(isa_bridge); } where the pci_dev_put() is never called if isa_bridge was valid but the extra checks on the chip-revision fail to match. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata.h')
0 files changed, 0 insertions, 0 deletions