[SCSI] mptsas: don't complain on bogus slave_alloc calls
commit23f236ed2748fca0bcba304f4f9e3eacda51e91c
authorChristoph Hellwig <hch@lst.de>
Mon, 30 Jan 2006 18:00:43 +0000 (30 19:00 +0100)
committerJames Bottomley <jejb@mulgrave.(none)>
Tue, 31 Jan 2006 20:40:01 +0000 (31 14:40 -0600)
tree694b1c45f7b215b366bb0935e958012ca46040fa
parent9f63bb73eb52df43f46ce2284759709fc40f4f52
[SCSI] mptsas: don't complain on bogus slave_alloc calls

When people use the userspace scanning facilities on SAS hardware the
LLDD gets bogus slave_alloc calls.  Just fail those gracefully instead
of printing a warning in mptsas and another one in the midlayer.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/message/fusion/mptsas.c