linux/drivers/message/fusion
Horms b364fd5081 [SCSI] fusion: honour return value of pci_enable_device() in mpt_resume()
Honour the return value of pci_enable_device(), which
seems to be a desirable thing to do:

  2.6.20-rc4
  gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

    CC [M]  drivers/message/fusion/mptbase.o
    drivers/message/fusion/mptbase.c: In function `mpt_resume':
    drivers/message/fusion/mptbase.c:1541: warning: ignoring return value
    of `pci_enable_device', declared with attribute warn_unused_result

It also in turn has mptscsih_resume() honour the return value of
mpt_resume()

I'm not sure about the handling of the other potential error cases
in mpt_resume(), of which there appear to be many. But this does
seem to be a good start.

Signed-off-by: Simon Horman <horms@verge.net.au>
Acked-by: "Moore, Eric" <Eric.Moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-03-20 11:30:31 -05:00
..
lsi [SCSI] fusion: mpi header update - version 1.05.14 2007-01-27 09:25:29 -06:00
Kconfig [SCSI] mptctl for mptsas 2007-01-13 13:51:31 -06:00
Makefile [SCSI] fusion - iocstatus, loginfo, and event debug updates 2007-02-02 20:53:14 -06:00
linux_compat.h [SCSI] drivers/message/fusion/linux_compat.h Removal of old code 2006-09-26 11:35:20 -07:00
mptbase.c [SCSI] fusion: honour return value of pci_enable_device() in mpt_resume() 2007-03-20 11:30:31 -05:00
mptbase.h [SCSI] fusion - bump version - 3.04.04 2007-02-02 21:12:02 -06:00
mptctl.c [PATCH] mark struct file_operations const 4 2007-02-12 09:48:45 -08:00
mptctl.h [SCSI] fusion - bump version - 3.04.04 2007-02-02 21:12:02 -06:00
mptfc.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
mptlan.c [SCSI] fusion - bump version - 3.04.04 2007-02-02 21:12:02 -06:00
mptlan.h [SCSI] fusion - bump version - 3.04.04 2007-02-02 21:12:02 -06:00
mptsas.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
mptscsih.c [SCSI] fusion: honour return value of pci_enable_device() in mpt_resume() 2007-03-20 11:30:31 -05:00
mptscsih.h [SCSI] fusion - bump version - 3.04.04 2007-02-02 21:12:02 -06:00
mptspi.c [SCSI] fusion: kernel-doc warning fixes 2007-03-20 10:47:23 -05:00