[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202205070312.tniIfReM-lkp@intel.com>
Date: Sat, 7 May 2022 03:56:53 +0800
From: kernel test robot <lkp@...el.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: 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/scsi/ufs/ufshcd.c:8267:10: error: 'struct scsi_host_template' has no
member named 'module'
tree: https://github.com/krzk/linux n/qcom-ufs-opp-cleanups-v2-drv-owner-wip
head: 17609caecd53df20f631703ea084a70e7735b5d7
commit: 17609caecd53df20f631703ea084a70e7735b5d7 [7/7] WIP
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20220507/202205070312.tniIfReM-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 11.3.0
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=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/scsi/
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/scsi/ufs/ufshcd.c:8267:10: error: 'struct scsi_host_template' has no member named 'module'
8267 | .module = THIS_MODULE,
| ^~~~~~
In file included from include/linux/linkage.h:7,
from include/linux/preempt.h:10,
from arch/m68k/include/asm/irqflags.h:6,
from include/linux/irqflags.h:16,
from arch/m68k/include/asm/atomic.h:6,
from include/linux/atomic.h:7,
from include/linux/rcupdate.h:25,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from include/linux/ratelimit.h:6,
from include/linux/dev_printk.h:16,
from include/linux/device.h:15,
from include/linux/async.h:14,
from drivers/scsi/ufs/ufshcd.c:12:
include/linux/export.h:19:21: warning: initialization of 'unsigned int' from 'struct module *' makes integer from pointer without a cast [-Wint-conversion]
19 | #define THIS_MODULE ((struct module *)0)
| ^
drivers/scsi/ufs/ufshcd.c:8267:35: note: in expansion of macro 'THIS_MODULE'
8267 | .module = THIS_MODULE,
| ^~~~~~~~~~~
include/linux/export.h:19:21: note: (near initialization for 'ufshcd_driver_template.cmd_size')
19 | #define THIS_MODULE ((struct module *)0)
| ^
drivers/scsi/ufs/ufshcd.c:8267:35: note: in expansion of macro 'THIS_MODULE'
8267 | .module = THIS_MODULE,
| ^~~~~~~~~~~
vim +8267 drivers/scsi/ufs/ufshcd.c
90b8491c003391 Stanley Chu 2020-05-09 8265
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 8266 static struct scsi_host_template ufshcd_driver_template = {
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 @8267 .module = THIS_MODULE,
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 8268 .name = UFSHCD,
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 8269 .proc_name = UFSHCD,
eaab9b57305496 Bart Van Assche 2021-12-03 8270 .map_queues = ufshcd_map_queues,
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 8271 .queuecommand = ufshcd_queuecommand,
eaab9b57305496 Bart Van Assche 2021-12-03 8272 .mq_poll = ufshcd_poll,
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 8273 .slave_alloc = ufshcd_slave_alloc,
eeda47499f0187 Akinobu Mita 2014-07-01 8274 .slave_configure = ufshcd_slave_configure,
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 8275 .slave_destroy = ufshcd_slave_destroy,
4264fd613a6a4b Sujit Reddy Thumma 2014-06-29 8276 .change_queue_depth = ufshcd_change_queue_depth,
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 8277 .eh_abort_handler = ufshcd_abort,
3441da7ddbdedf Sujit Reddy Thumma 2014-05-26 8278 .eh_device_reset_handler = ufshcd_eh_device_reset_handler,
3441da7ddbdedf Sujit Reddy Thumma 2014-05-26 8279 .eh_host_reset_handler = ufshcd_eh_host_reset_handler,
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 8280 .this_id = -1,
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 8281 .sg_tablesize = SG_ALL,
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 8282 .cmd_per_lun = UFSHCD_CMD_PER_LUN,
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 8283 .can_queue = UFSHCD_CAN_QUEUE,
552a990ca16688 Christoph Hellwig 2019-06-17 8284 .max_segment_size = PRDT_DATA_BYTE_COUNT_MAX,
1ab27c9cf8b63d Sahitya Tummala 2014-09-25 8285 .max_host_blocked = 1,
c40ecc12cfdb63 Christoph Hellwig 2014-11-13 8286 .track_queue_depth = 1,
d829fc8a105885 Stanislav Nijnikov 2018-02-15 8287 .sdev_groups = ufshcd_driver_groups,
4af14d113bcf95 Christoph Hellwig 2018-12-13 8288 .dma_boundary = PAGE_SIZE - 1,
49615ba144a092 Stanley Chu 2019-09-16 8289 .rpm_autosuspend_delay = RPM_AUTOSUSPEND_DELAY_MS,
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 8290 };
7a3e97b0dc4bba Santosh Yaraganavi 2012-02-29 8291
:::::: The code at line 8267 was first introduced by commit
:::::: 7a3e97b0dc4bbac2ba7803564ab0057722689921 [SCSI] ufshcd: UFS Host controller driver
:::::: TO: Santosh Yaraganavi <santoshsy@...il.com>
:::::: CC: James Bottomley <JBottomley@...allels.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists