]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] scsi_transport_sas: don't scan a non-existent end device
authorJames Bottomley <James.Bottomley@steeleye.com>
Fri, 14 Apr 2006 14:47:59 +0000 (09:47 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 14 Apr 2006 20:33:41 +0000 (15:33 -0500)
commitb763abfb1187447fcd9b1bc8b58ae8d71e35b6e4
tree6ee81be2aafdeee2665862bc47821d4bf4285857
parent40a215e4b55949d5500abb2aa026318a6d1e5d2c
[SCSI] scsi_transport_sas: don't scan a non-existent end device

Any end device that can't support any of the scanning protocols
shouldn't be scanned, so set its id to -1 to prevent
scsi_scan_target() being called for it.

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