From: kbuild test robot <lkp@intel.com>
To: Fam Zheng <famz@redhat.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
Paolo Bonzini <pbonzini@redhat.com>,
famz@redhat.com, linux-scsi@vger.kernel.org,
"James E.J. Bottomley" <jejb@linux.vnet.ibm.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
Jason Wang <jasowang@redhat.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
stefanha@redhat.com, virtualization@lists.linux-foundation.org
Subject: Re: [PATCH 2/2] virtio_scsi: Implement fc_host
Date: Tue, 17 Jan 2017 04:24:45 +0800 [thread overview]
Message-ID: <201701170451.2mCrVlRx%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170116160430.11815-3-famz@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 3187 bytes --]
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: arm-vexpress_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm
All errors (new ones prefixed by >>):
drivers/built-in.o: In function `init':
>> drivers/scsi/virtio_scsi.c:1178: undefined reference to `fc_attach_transport'
drivers/built-in.o: In function `fini':
>> drivers/scsi/virtio_scsi.c:1231: undefined reference to `fc_release_transport'
vim +1178 drivers/scsi/virtio_scsi.c
1172 };
1173
1174 static int __init init(void)
1175 {
1176 int ret = -ENOMEM;
1177
> 1178 virtscsi_fc_transport_template = fc_attach_transport(&virtscsi_fc_template);
1179 if (!virtscsi_fc_transport_template) {
1180 pr_err("fc_attach_transport() failed\n");
1181 goto error;
1182 }
1183
1184 virtscsi_cmd_cache = KMEM_CACHE(virtio_scsi_cmd, 0);
1185 if (!virtscsi_cmd_cache) {
1186 pr_err("kmem_cache_create() for virtscsi_cmd_cache failed\n");
1187 goto error;
1188 }
1189
1190
1191 virtscsi_cmd_pool =
1192 mempool_create_slab_pool(VIRTIO_SCSI_MEMPOOL_SZ,
1193 virtscsi_cmd_cache);
1194 if (!virtscsi_cmd_pool) {
1195 pr_err("mempool_create() for virtscsi_cmd_pool failed\n");
1196 goto error;
1197 }
1198 ret = cpuhp_setup_state_multi(CPUHP_AP_ONLINE_DYN,
1199 "scsi/virtio:online",
1200 virtscsi_cpu_online, NULL);
1201 if (ret < 0)
1202 goto error;
1203 virtioscsi_online = ret;
1204 ret = cpuhp_setup_state_multi(CPUHP_VIRT_SCSI_DEAD, "scsi/virtio:dead",
1205 NULL, virtscsi_cpu_online);
1206 if (ret)
1207 goto error;
1208 ret = register_virtio_driver(&virtio_scsi_driver);
1209 if (ret < 0)
1210 goto error;
1211
1212 return 0;
1213
1214 error:
1215 if (virtscsi_cmd_pool) {
1216 mempool_destroy(virtscsi_cmd_pool);
1217 virtscsi_cmd_pool = NULL;
1218 }
1219 if (virtscsi_cmd_cache) {
1220 kmem_cache_destroy(virtscsi_cmd_cache);
1221 virtscsi_cmd_cache = NULL;
1222 }
1223 if (virtioscsi_online)
1224 cpuhp_remove_multi_state(virtioscsi_online);
1225 cpuhp_remove_multi_state(CPUHP_VIRT_SCSI_DEAD);
1226 return ret;
1227 }
1228
1229 static void __exit fini(void)
1230 {
> 1231 fc_release_transport(virtscsi_fc_transport_template);
1232 unregister_virtio_driver(&virtio_scsi_driver);
1233 cpuhp_remove_multi_state(virtioscsi_online);
1234 cpuhp_remove_multi_state(CPUHP_VIRT_SCSI_DEAD);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 18632 bytes --]
next prev parent reply other threads:[~2017-01-16 20:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-16 16:04 [PATCH 0/2] virtio-scsi: Implement FC_HOST feature Fam Zheng
2017-01-16 16:04 ` [PATCH 1/2] virtio_scsi: Add fc_host definitions Fam Zheng
2017-01-16 16:04 ` [PATCH 2/2] virtio_scsi: Implement fc_host Fam Zheng
2017-01-16 16:45 ` Paolo Bonzini
2017-01-16 17:26 ` Fam Zheng
2017-01-17 13:17 ` Paolo Bonzini
2017-01-17 14:05 ` Fam Zheng
2017-01-17 15:47 ` Michael S. Tsirkin
2017-01-16 19:02 ` kbuild test robot
2017-01-17 3:40 ` Fam Zheng
2017-01-16 20:24 ` kbuild test robot [this message]
2017-01-16 17:34 ` [PATCH 0/2] virtio-scsi: Implement FC_HOST feature Christoph Hellwig
2017-01-17 3:37 ` Fam Zheng
2017-01-16 17:44 ` Hannes Reinecke
2017-01-16 20:17 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201701170451.2mCrVlRx%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=famz@redhat.com \
--cc=jasowang@redhat.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=stefanha@redhat.com \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®