mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Laurent Vivier <lvivier@redhat.com>
Cc: kbuild-all@01.org, martin.petersen@oracle.com,
	brking@linux.vnet.ibm.com, tyreld@linux.vnet.ibm.com,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	lvivier@redhat.com
Subject: Re: [PATCH 2/3] ibmvscsi: display default value for max_id, max_lun and max_channel.
Date: Tue, 3 Nov 2015 23:58:01 +0800	[thread overview]
Message-ID: <201511032311.k8NxnHC1%fengguang.wu@intel.com> (raw)
In-Reply-To: <1446561239-29324-2-git-send-email-lvivier@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 2535 bytes --]

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 #2: .config.gz --]
[-- Type: application/octet-stream, Size: 21514 bytes --]

  reply	other threads:[~2015-11-03 15:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-03 14:33 [PATCH 1/3] ibmvscsi: make parameters max_id and max_channel read-only Laurent Vivier
2015-11-03 14:33 ` [PATCH 2/3] ibmvscsi: display default value for max_id, max_lun and max_channel Laurent Vivier
2015-11-03 15:58   ` kbuild test robot [this message]
2015-11-03 14:33 ` [PATCH 3/3] ibmvscsi: Allow to configure maximum LUN Laurent Vivier

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=201511032311.k8NxnHC1%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=brking@linux.vnet.ibm.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=lvivier@redhat.com \
    --cc=martin.petersen@oracle.com \
    --cc=tyreld@linux.vnet.ibm.com \
    /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®