linux/drivers/message/fusion
Krzysztof Oledzki 51f39eae14 [SCSI] mpt fusion: don't oops if NumPhys==0
Don't oops if NumPhys==0, instead return -ENODEV.
This patch fixes http://bugzilla.kernel.org/show_bug.cgi?id=9909

Signed-off-by: Krzysztof Piotr Oledzki <ole@ans.pl>
Acked-by: Eric Moore <Eric.Moore@lsi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-03-05 14:57:57 -06:00
..
lsi Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
Kconfig [SCSI] mpt fusion: Kconfig cleanup 2007-10-12 14:48:53 -04:00
Makefile [SCSI] mpt fusion: logging support in Kconfig, Makefile, mptbase.h and addition of mptdebug.h 2007-07-28 11:25:35 -04:00
mptbase.c [SCSI] docbook: fix fusion source files 2008-03-03 13:18:08 -06:00
mptbase.h [SCSI] mpt fusion: kill warnings in mptbase.h on parisc64 2008-02-18 08:57:16 -06:00
mptctl.c drivers/message/: Spelling fixes 2008-02-03 17:21:01 +02:00
mptctl.h [SCSI] mpt fusion: Change company name from LSI Logic to LSI 2007-10-12 14:40:54 -04:00
mptdebug.h [SCSI] mpt fusion: logging support in Kconfig, Makefile, mptbase.h and addition of mptdebug.h 2007-07-28 11:25:35 -04:00
mptfc.c [SCSI] mpt fusion: lock down ScsiLookup 2007-10-12 14:52:15 -04:00
mptlan.c Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2007-10-15 08:19:33 -07:00
mptlan.h [SCSI] mpt fusion: Change company name from LSI Logic to LSI 2007-10-12 14:40:54 -04:00
mptsas.c [SCSI] mpt fusion: don't oops if NumPhys==0 2008-03-05 14:57:57 -06:00
mptsas.h [SCSI] mpt fusion: Creation of mptsas.h header file 2007-10-12 14:40:47 -04:00
mptscsih.c [SCSI] docbook: fix fusion source files 2008-03-03 13:18:08 -06:00
mptscsih.h [SCSI] mpt fusion: Change company name from LSI Logic to LSI 2007-10-12 14:40:54 -04:00
mptspi.c [SCSI] mpt fusion: fix up fusion prints using the sdev_printk, dev_printk, and shost_printk API 2007-10-12 14:52:19 -04:00