Re: [PATCH 2/2] virtio_scsi: Implement fc_host
From: Fam Zheng
Date: Mon Jan 16 2017 - 22:40:42 EST
On Tue, 01/17 03:02, kbuild test robot wrote:
> Hi Fam,
>
> [auto build test ERROR on linus/master]
> [also build test ERROR on v4.10-rc4 next-20170116]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url: https://github.com/0day-ci/linux/commits/Fam-Zheng/virtio-scsi-Implement-FC_HOST-feature/20170117-011950
> config: i386-randconfig-r0-201703 (attached as .config)
> compiler: gcc-5 (Debian 5.4.1-2) 5.4.1 20160904
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> drivers/built-in.o: In function `init':
> >> virtio_scsi.c:(.init.text+0x10d52): undefined reference to `fc_attach_transport'
> drivers/built-in.o: In function `fini':
> >> virtio_scsi.c:(.exit.text+0x14a4): undefined reference to `fc_release_transport'
This is good catch.
Looks like virtio-scsi will now have to depend on fc, or we wrap the fc code
with #ifdef's.
Fam