From: kbuild test robot <lkp@intel.com>
To: jon@ringle.org
Cc: kbuild-all@01.org, broonie@kernel.org,
gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org, Jon Ringle <jringle@gridpoint.com>
Subject: Re: [PATCH net-next v3 2/2] net: Microchip encx24j600 driver
Date: Sat, 3 Oct 2015 22:56:47 +0800 [thread overview]
Message-ID: <201510032231.3qbjCybC%fengguang.wu@intel.com> (raw)
In-Reply-To: <1443717488-16533-2-git-send-email-jon@ringle.org>
[-- Attachment #1: Type: text/plain, Size: 2045 bytes --]
Hi Jon,
[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]
config: mn10300-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=mn10300
All warnings (new ones prefixed by >>):
drivers/net/ethernet/microchip/encx24j600-regmap.c: In function 'regmap_encx24j600_read':
>> drivers/net/ethernet/microchip/encx24j600-regmap.c:272:3: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=]
pr_err("%s: reg=%02x reg_size=%zu\n", __func__, reg, reg_size);
^
drivers/net/ethernet/microchip/encx24j600-regmap.c:280:3: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=]
pr_err("%s: reg=%02x val_size=%zu\n", __func__, reg, val_size);
^
vim +272 drivers/net/ethernet/microchip/encx24j600-regmap.c
256 if (reg > 0xa0)
257 return regmap_encx24j600_spi_write(context, reg, dout, len);
258
259 if (len > 2)
260 return -EINVAL;
261
262 return regmap_encx24j600_sfr_write(context, reg, dout, len);
263 }
264
265 static int regmap_encx24j600_read(void *context,
266 const void *reg_buf, size_t reg_size,
267 void *val, size_t val_size)
268 {
269 u8 reg = *(const u8 *)reg_buf;
270
271 if (reg_size != 1) {
> 272 pr_err("%s: reg=%02x reg_size=%zu\n", __func__, reg, reg_size);
273 return -EINVAL;
274 }
275
276 if (reg > 0xa0)
277 return regmap_encx24j600_spi_read(context, reg, val, val_size);
278
279 if (val_size > 2) {
280 pr_err("%s: reg=%02x val_size=%zu\n", __func__, reg, val_size);
---
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: 35881 bytes --]
next prev parent reply other threads:[~2015-10-03 14:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-01 16:38 [PATCH net-next v3 1/2] regmap: Allow installing custom reg_update_bits function jon
2015-10-01 16:38 ` [PATCH net-next v3 2/2] net: Microchip encx24j600 driver jon
2015-10-03 14:56 ` kbuild test robot [this message]
2015-10-06 16:30 ` [PATCH net-next v3 1/2] regmap: Allow installing custom reg_update_bits function Mark Brown
2015-10-08 11:01 ` David Miller
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=201510032231.3qbjCybC%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jon@ringle.org \
--cc=jringle@gridpoint.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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®