Hi Laurent, [auto build test WARNING on scsi/for-next] [also WARNING on: v4.3 next-20151103] url: https://github.com/0day-ci/linux/commits/Laurent-Vivier/ibmvscsi-make-parameters-max_id-and-max_channel-read-only/20151103-223706 base: https://github.com/0day-ci/linux Laurent-Vivier/ibmvscsi-make-parameters-max_id-and-max_channel-read-only/20151103-223706 config: powerpc-defconfig (attached as .config) 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=powerpc All warnings (new ones prefixed by >>): In file included from include/linux/dma-mapping.h:5:0, from drivers/scsi/ibmvscsi/ibmvscsi.c:65: drivers/scsi/ibmvscsi/ibmvscsi.c: In function 'ibmvscsi_probe': >> drivers/scsi/ibmvscsi/ibmvscsi.c:2298:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'u64 {aka long long unsigned int}' [-Wformat=] "Maximum ID: %d Maximum LUN: %d Maximum Channel: %d\n", ^ include/linux/device.h:1166:51: note: in definition of macro 'dev_info' #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) ^ vim +2298 drivers/scsi/ibmvscsi/ibmvscsi.c 2282 rc = ibmvscsi_init_crq_queue(&hostdata->queue, hostdata, max_events); 2283 if (rc != 0 && rc != H_RESOURCE) { 2284 dev_err(&vdev->dev, "couldn't initialize crq. rc=%d\n", rc); 2285 goto kill_kthread; 2286 } 2287 if (initialize_event_pool(&hostdata->pool, max_events, hostdata) != 0) { 2288 dev_err(&vdev->dev, "couldn't initialize event pool\n"); 2289 goto init_pool_failed; 2290 } 2291 2292 host->max_lun = 8; 2293 host->max_id = max_id; 2294 host->max_channel = max_channel; 2295 host->max_cmd_len = 16; 2296 2297 dev_info(dev, > 2298 "Maximum ID: %d Maximum LUN: %d Maximum Channel: %d\n", 2299 host->max_id, host->max_lun, host->max_channel); 2300 2301 if (scsi_add_host(hostdata->host, hostdata->dev)) 2302 goto add_host_failed; 2303 2304 /* we don't have a proper target_port_id so let's use the fake one */ 2305 memcpy(ids.port_id, hostdata->madapter_info.partition_name, 2306 sizeof(ids.port_id)); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data