From: kbuild test robot <lkp@intel.com>
To: Joe Perches <joe@perches.com>
Cc: kbuild-all@01.org, QLogic-Storage-Upstream@cavium.com,
"James E.J. Bottomley" <jejb@linux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: qedf: Fix defective logging format and argument mismatches
Date: Tue, 7 Mar 2017 01:52:36 +0800 [thread overview]
Message-ID: <201703070152.Zspd61cr%fengguang.wu@intel.com> (raw)
In-Reply-To: <b75448afd5e48f342ad9f1785c6546eee7948af9.1488614805.git.joe@perches.com>
[-- Attachment #1: Type: text/plain, Size: 3251 bytes --]
Hi Joe,
[auto build test WARNING on scsi/for-next]
[also build test WARNING on v4.11-rc1 next-20170306]
[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/Joe-Perches/scsi-qedf-Fix-defective-logging-format-and-argument-mismatches/20170307-005400
base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa
All warnings (new ones prefixed by >>):
drivers/scsi/qedf/qedf_main.c: In function 'qedf_alloc_bdq':
>> drivers/scsi/qedf/qedf_main.c:2458:2: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 7 has type 'dma_addr_t' [-Wformat=]
QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_DISC,
^
vim +2458 drivers/scsi/qedf/qedf_main.c
61d8658b Dupuis, Chad 2017-02-15 2442 }
61d8658b Dupuis, Chad 2017-02-15 2443 }
61d8658b Dupuis, Chad 2017-02-15 2444
61d8658b Dupuis, Chad 2017-02-15 2445 /* Alloc dma memory for BDQ page buffer list */
61d8658b Dupuis, Chad 2017-02-15 2446 qedf->bdq_pbl_mem_size =
61d8658b Dupuis, Chad 2017-02-15 2447 QEDF_BDQ_SIZE * sizeof(struct scsi_bd);
61d8658b Dupuis, Chad 2017-02-15 2448 qedf->bdq_pbl_mem_size =
61d8658b Dupuis, Chad 2017-02-15 2449 ALIGN(qedf->bdq_pbl_mem_size, QEDF_PAGE_SIZE);
61d8658b Dupuis, Chad 2017-02-15 2450
61d8658b Dupuis, Chad 2017-02-15 2451 qedf->bdq_pbl = dma_alloc_coherent(&qedf->pdev->dev,
61d8658b Dupuis, Chad 2017-02-15 2452 qedf->bdq_pbl_mem_size, &qedf->bdq_pbl_dma, GFP_KERNEL);
61d8658b Dupuis, Chad 2017-02-15 2453 if (!qedf->bdq_pbl) {
61d8658b Dupuis, Chad 2017-02-15 2454 QEDF_ERR(&(qedf->dbg_ctx), "Could not allocate BDQ PBL.\n");
61d8658b Dupuis, Chad 2017-02-15 2455 return -ENOMEM;
61d8658b Dupuis, Chad 2017-02-15 2456 }
61d8658b Dupuis, Chad 2017-02-15 2457
61d8658b Dupuis, Chad 2017-02-15 @2458 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_DISC,
61d8658b Dupuis, Chad 2017-02-15 2459 "BDQ PBL addr=0x%p dma=0x%llx.\n", qedf->bdq_pbl,
61d8658b Dupuis, Chad 2017-02-15 2460 qedf->bdq_pbl_dma);
61d8658b Dupuis, Chad 2017-02-15 2461
61d8658b Dupuis, Chad 2017-02-15 2462 /*
61d8658b Dupuis, Chad 2017-02-15 2463 * Populate BDQ PBL with physical and virtual address of individual
61d8658b Dupuis, Chad 2017-02-15 2464 * BDQ buffers
61d8658b Dupuis, Chad 2017-02-15 2465 */
61d8658b Dupuis, Chad 2017-02-15 2466 pbl = (struct scsi_bd *)qedf->bdq_pbl;
:::::: The code at line 2458 was first introduced by commit
:::::: 61d8658b4a435eac729966cc94cdda077a8df5cd scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework.
:::::: TO: Dupuis, Chad <chad.dupuis@cavium.com>
:::::: CC: Martin K. Petersen <martin.petersen@oracle.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 48596 bytes --]
next prev parent reply other threads:[~2017-03-06 18:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-04 8:07 Joe Perches
2017-03-06 17:52 ` kbuild test robot [this message]
2017-03-06 18:03 ` kbuild test robot
2017-03-06 18:17 ` Joe Perches
2017-03-06 18:33 ` Joe Perches
2017-03-06 19:33 ` Chad Dupuis
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=201703070152.Zspd61cr%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=QLogic-Storage-Upstream@cavium.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=joe@perches.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.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®