From: kbuild test robot <lkp@intel.com>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: kbuild-all@01.org,
"Boris Brezillon" <boris.brezillon@free-electrons.com>,
"Richard Weinberger" <richard@nod.at>,
"Rafał Miłecki" <zajec5@gmail.com>,
"open list:LINUX FOR POWERPC PA SEMI PWRFICIENT"
<linuxppc-dev@lists.ozlabs.org>,
"open list" <linux-kernel@vger.kernel.org>,
linux-mtd@lists.infradead.org, "Olof Johansson" <olof@lixom.net>,
"Brian Norris" <computersforpeace@gmail.com>,
"David Woodhouse" <dwmw2@infradead.org>
Subject: Re: [PATCH] mtd: nand: pasemi: switch to pr_* functions
Date: Fri, 8 Apr 2016 18:52:50 +0800 [thread overview]
Message-ID: <201604081852.iZyLF2zV%fengguang.wu@intel.com> (raw)
In-Reply-To: <1460111589-18781-1-git-send-email-zajec5@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2912 bytes --]
Hi Rafał,
[auto build test WARNING on mtd/master]
[also build test WARNING on v4.6-rc2 next-20160408]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Rafa-Mi-ecki/mtd-nand-pasemi-switch-to-pr_-functions/20160408-183554
base: git://git.infradead.org/linux-mtd.git master
config: powerpc-allmodconfig (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/printk.h:6:0,
from include/linux/kernel.h:13,
from include/asm-generic/bug.h:13,
from arch/powerpc/include/asm/bug.h:127,
from include/linux/bug.h:4,
from include/linux/mmdebug.h:4,
from include/linux/gfp.h:4,
from include/linux/slab.h:14,
from drivers/mtd/nand/pasemi_nand.c:25:
drivers/mtd/nand/pasemi_nand.c: In function 'pasemi_nand_probe':
include/linux/kern_levels.h:4:18: warning: format '%zx' expects argument of type 'size_t', but argument 2 has type 'resource_size_t {aka long long unsigned int}' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^
include/linux/printk.h:259:9: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^
>> drivers/mtd/nand/pasemi_nand.c:169:2: note: in expansion of macro 'pr_info'
pr_info("PA Semi NAND flash at %08zx, control at I/O %x\n", res.start,
^
vim +/pr_info +169 drivers/mtd/nand/pasemi_nand.c
153
154 /* Enable the following for a flash based bad block table */
155 chip->bbt_options = NAND_BBT_USE_FLASH;
156
157 /* Scan to find existence of the device */
158 if (nand_scan(pasemi_nand_mtd, 1)) {
159 err = -ENXIO;
160 goto out_lpc;
161 }
162
163 if (mtd_device_register(pasemi_nand_mtd, NULL, 0)) {
164 pr_err("pasemi_nand: Unable to register MTD device\n");
165 err = -ENODEV;
166 goto out_lpc;
167 }
168
> 169 pr_info("PA Semi NAND flash at %08zx, control at I/O %x\n", res.start,
170 lpcctl);
171
172 return 0;
173
174 out_lpc:
175 release_region(lpcctl, 4);
176 out_ior:
177 iounmap(chip->IO_ADDR_R);
---
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: 48562 bytes --]
next prev parent reply other threads:[~2016-04-08 10:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-08 10:33 Rafał Miłecki
2016-04-08 10:50 ` Joe Perches
2016-04-08 10:52 ` kbuild test robot [this message]
2016-04-08 11:13 ` [PATCH V2] " Rafał Miłecki
2016-04-08 16:49 ` Joe Perches
2016-04-09 9:50 ` Andy Shevchenko
2016-04-13 7:44 ` Boris Brezillon
2016-04-13 9:48 ` [PATCH V3] mtd: nand: pasemi: switch to dev_* printing functions Rafał Miłecki
2016-04-13 11:54 ` Boris Brezillon
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=201604081852.iZyLF2zV%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=olof@lixom.net \
--cc=richard@nod.at \
--cc=zajec5@gmail.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®