[PATCH] next-20090113 - scsi_debug fails with CONFIG_CRC_T10DIF=n

From: Kamalesh Babulal
Date: Tue Jan 13 2009 - 08:02:32 EST


Hi Stephen,

next-20090113 kernel randconfig fails with

ERROR: "crc_t10dif" [drivers/scsi/scsi_debug.ko] undefined!
make[1]: *** [__modpost] Error 1

Impact: Fix the dependency of scsi_debug on crc-t10dif library

scsi_debug calls the functions exported by crc-t10dif library,
adding dependency to select CONFIG_CRC_T10DIF

Signed-off-by: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>
---
drivers/scsi/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
old mode 100644
new mode 100755
index d25d21e..32ccf96
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -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
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/