From: Ben Dooks Date: Thu, 24 Jul 2008 15:38:06 +0000 (+0100) Subject: pata_ali: misplaced pci_dev_put() X-Git-Tag: v2.6.27-rc2~90^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8389f0c44652ee63d95bc0a7f8d565ac25dac77;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed