[SCSI] scsi_debug: needs CRC_T10DIF
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 12 Jan 2009 18:53:04 +0000 (10:53 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 12 Mar 2009 17:57:55 +0000 (12:57 -0500)
Fix scsi_debug build error:

drivers/built-in.o: In function `resp_read':
scsi_debug.c:(.text+0x21379a): undefined reference to `crc_t10dif'
drivers/built-in.o: In function `resp_write':
scsi_debug.c:(.text+0x213fca): undefined reference to `crc_t10dif'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/Kconfig

index 256c7be..8f0a5cb 100644 (file)
@@ -1535,6 +1535,7 @@ config SCSI_NSP32
 config SCSI_DEBUG
        tristate "SCSI debugging host simulator"
        depends on SCSI
+       select CRC_T10DIF
        help
          This is a host adapter simulator that can simulate multiple hosts
          each with multiple dummy SCSI devices (disks). It defaults to one