1. 31 Jul, 2008 1 commit
    • Ben Dooks's avatar
      pata_ali: misplaced pci_dev_put() · e8389f0c
      Ben Dooks authored
      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: default avatarBen Dooks <ben-linux@fluff.org>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      e8389f0c
  2. 30 Jul, 2008 39 commits