Commit 8063d56e authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Martin K. Petersen

scsi: storvsc: Fix a build issue reported by kbuild test robot

tree: master
head:   03c21cb7
commit: dac58241 storvsc: Properly support Fibre Channel devices
date:   3 weeks ago
config: x86_64-randconfig-s3-01281016 (attached as .config)
        git checkout dac58241
        # save the attached .config to linux build tree
        make ARCH=x86_64

All errors (new ones prefixed by >>):

   drivers/built-in.o: In function `storvsc_remove':
>> storvsc_drv.c:(.text+0x213af7): undefined reference to `fc_remove_host'
   drivers/built-in.o: In function `storvsc_drv_init':
>> storvsc_drv.c:(.init.text+0xcbcc): undefined reference to `fc_attach_transport'
>> storvsc_drv.c:(.init.text+0xcc06): undefined reference to `fc_release_transport'
   drivers/built-in.o: In function `storvsc_drv_exit':
>> storvsc_drv.c:(.exit.text+0x123c): undefined reference to `fc_release_transport'

With this commit, the storvsc driver depends on FC atttributes. Make this
dependency explicit.
Signed-off-by: default avatarK. Y. Srinivasan <>
Reported-by: default avatarFengguang Wu <>
Signed-off-by: default avatarMartin K. Petersen <>
parent bbb7bace
......@@ -596,6 +596,7 @@ config XEN_SCSI_FRONTEND
tristate "Microsoft Hyper-V virtual storage driver"
depends on SCSI && HYPERV
depends on m || SCSI_FC_ATTRS != m
default HYPERV
Select this option to enable the Hyper-V virtual storage driver.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment