diff options
author | Krzysztof Oledzki <olel@ans.pl> | 2008-03-04 22:56:23 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-03-05 20:57:57 (GMT) |
commit | 51f39eae14b4874618e73281c236e3a1c1572d4d (patch) | |
tree | 1835811c57a5022f8f0724d00fa57abcf3e744c7 /virt | |
parent | 45ab33b6c190c4a8c58f1d13be2ff89ee62024ba (diff) | |
download | linux-51f39eae14b4874618e73281c236e3a1c1572d4d.tar.xz |
[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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions