[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202205070341.800VDMqg-lkp@intel.com>
Date: Sat, 7 May 2022 04:07:28 +0800
From: kernel test robot <lkp@...el.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [krzk-github:n/qcom-ufs-opp-cleanups-v2-drv-owner-wip 7/7]
drivers/target/loopback/tcm_loop.c:314:3: error: field designator 'module'
does not refer to any field in type 'struct scsi_host_template'
tree: https://github.com/krzk/linux n/qcom-ufs-opp-cleanups-v2-drv-owner-wip
head: 17609caecd53df20f631703ea084a70e7735b5d7
commit: 17609caecd53df20f631703ea084a70e7735b5d7 [7/7] WIP
config: hexagon-randconfig-r026-20220506 (https://download.01.org/0day-ci/archive/20220507/202205070341.800VDMqg-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5e004fb787698440a387750db7f8028e7cb14cfc)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/krzk/linux/commit/17609caecd53df20f631703ea084a70e7735b5d7
git remote add krzk-github https://github.com/krzk/linux
git fetch --no-tags krzk-github n/qcom-ufs-opp-cleanups-v2-drv-owner-wip
git checkout 17609caecd53df20f631703ea084a70e7735b5d7
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/target/loopback/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> drivers/target/loopback/tcm_loop.c:314:3: error: field designator 'module' does not refer to any field in type 'struct scsi_host_template'
.module = THIS_MODULE,
^
1 error generated.
vim +314 drivers/target/loopback/tcm_loop.c
8f4a1fb0d029fe Hannes Reinecke 2013-10-16 300
3703b2c5d041a6 Nicholas Bellinger 2011-03-18 301 static struct scsi_host_template tcm_loop_driver_template = {
8946b077ca385a Al Viro 2013-03-31 302 .show_info = tcm_loop_show_info,
3703b2c5d041a6 Nicholas Bellinger 2011-03-18 303 .proc_name = "tcm_loopback",
3703b2c5d041a6 Nicholas Bellinger 2011-03-18 304 .name = "TCM_Loopback",
3703b2c5d041a6 Nicholas Bellinger 2011-03-18 305 .queuecommand = tcm_loop_queuecommand,
db5ed4dfd5dd01 Christoph Hellwig 2014-11-13 306 .change_queue_depth = scsi_change_queue_depth,
969871cdc2d0f5 Hannes Reinecke 2013-10-16 307 .eh_abort_handler = tcm_loop_abort_task,
3703b2c5d041a6 Nicholas Bellinger 2011-03-18 308 .eh_device_reset_handler = tcm_loop_device_reset,
8f4a1fb0d029fe Hannes Reinecke 2013-10-16 309 .eh_target_reset_handler = tcm_loop_target_reset,
3703b2c5d041a6 Nicholas Bellinger 2011-03-18 310 .this_id = -1,
2e88efd3aaafa0 Christoph Hellwig 2011-11-29 311 .sg_tablesize = 256,
2e88efd3aaafa0 Christoph Hellwig 2011-11-29 312 .max_sectors = 0xFFFF,
4af14d113bcf95 Christoph Hellwig 2018-12-13 313 .dma_boundary = PAGE_SIZE - 1,
3703b2c5d041a6 Nicholas Bellinger 2011-03-18 @314 .module = THIS_MODULE,
c40ecc12cfdb63 Christoph Hellwig 2014-11-13 315 .track_queue_depth = 1,
e0eb5d38b732b0 Mike Christie 2021-02-27 316 .cmd_size = sizeof(struct tcm_loop_cmd),
3703b2c5d041a6 Nicholas Bellinger 2011-03-18 317 };
3703b2c5d041a6 Nicholas Bellinger 2011-03-18 318
:::::: The code at line 314 was first introduced by commit
:::::: 3703b2c5d041a68095cdd22380c23ce27d449ad7 [SCSI] tcm_loop: Add multi-fabric Linux/SCSI LLD fabric module
:::::: TO: Nicholas Bellinger <nab@...ux-iscsi.org>
:::::: CC: James Bottomley <James.Bottomley@...e.de>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists