Re: randconfig build error with next-20140110, indrivers/target/target_core_sbc.c

From: Nicholas A. Bellinger
Date: Fri Jan 10 2014 - 14:36:11 EST


Hi Jim,

On Fri, 2014-01-10 at 06:57 -0700, Jim Davis wrote:
> Building with the attached random configuration file,
>
> LD init/built-in.o
> drivers/built-in.o: In function `sbc_dif_v1_verify':
> /home/jim/linux/drivers/target/target_core_sbc.c:1019: undefined
> reference to `crc_t10dif'
> make: *** [vmlinux] Error 1

Applying the following patch to address this build failure.

Thanks for the heads up!

--nab

diff --git a/drivers/target/Kconfig b/drivers/target/Kconfig
index 1830368..50aad2e 100644
--- a/drivers/target/Kconfig
+++ b/drivers/target/Kconfig
@@ -3,6 +3,7 @@ menuconfig TARGET_CORE
tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure"
depends on SCSI && BLOCK
select CONFIGFS_FS
+ select CRC_T10DIF
default n
help
Say Y or M here to enable the TCM Storage Engine and ConfigFS enabled

--
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/