]> err.no Git - linux-2.6/commit
[SCSI] lpfc 8.1.5 : Fix cleanup code in the lpfc_pci_probe_one() error code path
authorJames Smart <James.Smart@Emulex.Com>
Mon, 17 Apr 2006 02:26:50 +0000 (22:26 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 20 Apr 2006 00:49:34 +0000 (20:49 -0400)
commitdefbcf11ab56e09965b2135d70f44a82a5ab5fc3
tree1d0707b38c4c74cd5d15e5b23555772b461136d9
parent82d9a2a2900b17223117dc10b56503acc678c337
[SCSI] lpfc 8.1.5 : Fix cleanup code in the lpfc_pci_probe_one() error code path

Fix cleanup code in the lpfc_pci_probe_one() error code path.

This changes the original patch by:
  - hardsetting the return value from lpfc_pci_probe_one() to
    -ENODEV (negative value) if we fail attach
  - removes the checks from lpfc_pci_remove_one() validating the
    host and phba pointers as it's no longer needed.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/lpfc/lpfc_init.c