Эх сурвалжийг харах

[SCSI] scsi_debug: needs CRC_T10DIF

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>
Randy Dunlap 16 жил өмнө
parent
commit
d0ace3c5ee

+ 1 - 0
drivers/scsi/Kconfig

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