lkml.org 
[lkml]   [2014]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: randconfig build error with next-20140110, in drivers/target/target_core_sbc.c
From
Date
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


\
 
 \ /
  Last update: 2014-01-10 20:41    [W:0.140 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site