Re: [PATCH 2/7] scsi/scsi_transport_iscsi: Update ep_connect to include iface.

From: kbuild test robot
Date: Thu Jun 08 2017 - 08:25:51 EST


Hi Robert,

[auto build test ERROR on mkp-scsi/for-next]
[also build test ERROR on v4.12-rc4 next-20170608]
[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/Robert-LeBlanc/Enable-iSCSI-offload-drivers-to-use-information-from-iface/20170607-211934
base: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
config: x86_64-kexec (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

Note: the linux-review/Robert-LeBlanc/Enable-iSCSI-offload-drivers-to-use-information-from-iface/20170607-211934 HEAD 9d84638ec1dd56cf18d796045165770d741fe422 builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> drivers/scsi/qla4xxx/ql4_os.c:236:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.ep_connect = qla4xxx_ep_connect,
^~~~~~~~~~~~~~~~~~
drivers/scsi/qla4xxx/ql4_os.c:236:17: note: (near initialization for 'qla4xxx_iscsi_transport.ep_connect')
cc1: some warnings being treated as errors

vim +236 drivers/scsi/qla4xxx/ql4_os.c

b3a271a9 Manish Rangankar 2011-07-25 220 .caps = CAP_TEXT_NEGO |
b3a271a9 Manish Rangankar 2011-07-25 221 CAP_DATA_PATH_OFFLOAD | CAP_HDRDGST |
b3a271a9 Manish Rangankar 2011-07-25 222 CAP_DATADGST | CAP_LOGIN_OFFLOAD |
b3a271a9 Manish Rangankar 2011-07-25 223 CAP_MULTI_R2T,
5e9bcec7 Vikas Chaudhary 2012-08-22 224 .attr_is_visible = qla4_attr_is_visible,
b3a271a9 Manish Rangankar 2011-07-25 225 .create_session = qla4xxx_session_create,
b3a271a9 Manish Rangankar 2011-07-25 226 .destroy_session = qla4xxx_session_destroy,
b3a271a9 Manish Rangankar 2011-07-25 227 .start_conn = qla4xxx_conn_start,
b3a271a9 Manish Rangankar 2011-07-25 228 .create_conn = qla4xxx_conn_create,
b3a271a9 Manish Rangankar 2011-07-25 229 .bind_conn = qla4xxx_conn_bind,
b3a271a9 Manish Rangankar 2011-07-25 230 .stop_conn = iscsi_conn_stop,
b3a271a9 Manish Rangankar 2011-07-25 231 .destroy_conn = qla4xxx_conn_destroy,
b3a271a9 Manish Rangankar 2011-07-25 232 .set_param = iscsi_set_param,
afaf5a2d David Somayajulu 2006-09-19 233 .get_conn_param = qla4xxx_conn_get_param,
fca9f04d Mike Christie 2012-02-27 234 .get_session_param = qla4xxx_session_get_param,
b3a271a9 Manish Rangankar 2011-07-25 235 .get_ep_param = qla4xxx_get_ep_param,
b3a271a9 Manish Rangankar 2011-07-25 @236 .ep_connect = qla4xxx_ep_connect,
b3a271a9 Manish Rangankar 2011-07-25 237 .ep_poll = qla4xxx_ep_poll,
b3a271a9 Manish Rangankar 2011-07-25 238 .ep_disconnect = qla4xxx_ep_disconnect,
b3a271a9 Manish Rangankar 2011-07-25 239 .get_stats = qla4xxx_conn_get_stats,
b3a271a9 Manish Rangankar 2011-07-25 240 .send_pdu = iscsi_conn_send_pdu,
b3a271a9 Manish Rangankar 2011-07-25 241 .xmit_task = qla4xxx_task_xmit,
b3a271a9 Manish Rangankar 2011-07-25 242 .cleanup_task = qla4xxx_task_cleanup,
b3a271a9 Manish Rangankar 2011-07-25 243 .alloc_pdu = qla4xxx_alloc_pdu,
b3a271a9 Manish Rangankar 2011-07-25 244

:::::: The code at line 236 was first introduced by commit
:::::: b3a271a94d0034dd3bab10b8d8cd432843be629e [SCSI] qla4xxx: support iscsiadm session mgmt

:::::: TO: Manish Rangankar <manish.rangankar@xxxxxxxxxx>
:::::: CC: James Bottomley <JBottomley@xxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip