From: kbuild test robot <lkp@intel.com>
To: Michael Dilmore <michael.j.dilmore@gmail.com>
Cc: kbuild-all@01.org, Jay Vosburgh <j.vosburgh@gmail.com>,
Michael Dilmore <michael.j.dilmore@gmail.com>,
Veaceslav Falico <vfalico@gmail.com>,
Andy Gospodarek <andy@greyhouse.net>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Add printk for bonding module packets_per_slave parameter
Date: Wed, 14 Jun 2017 05:18:01 +0800 [thread overview]
Message-ID: <201706140550.vFu82C0V%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170613134246.6407-1-michael.j.dilmore@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2015 bytes --]
Hi Michael,
[auto build test WARNING on net-next/master]
[also build test WARNING on v4.12-rc5 next-20170613]
[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/Michael-Dilmore/Add-printk-for-bonding-module-packets_per_slave-parameter/20170614-045412
config: i386-randconfig-x014-06122022 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
drivers/net//bonding/bond_options.c: In function 'bond_option_pps_set':
>> drivers/net//bonding/bond_options.c:1259:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'u64 {aka const long long unsigned int}' [-Wformat=]
netdev_info(bond->dev, "Setting packets per slave to %d\n",
^
vim +1259 drivers/net//bonding/bond_options.c
1243 bond_set_carrier(bond);
1244
1245 return 0;
1246 }
1247
1248 static int bond_option_lp_interval_set(struct bonding *bond,
1249 const struct bond_opt_value *newval)
1250 {
1251 bond->params.lp_interval = newval->value;
1252
1253 return 0;
1254 }
1255
1256 static int bond_option_pps_set(struct bonding *bond,
1257 const struct bond_opt_value *newval)
1258 {
> 1259 netdev_info(bond->dev, "Setting packets per slave to %d\n",
1260 newval->value);
1261 bond->params.packets_per_slave = newval->value;
1262 if (newval->value > 0) {
1263 bond->params.reciprocal_packets_per_slave =
1264 reciprocal_value(newval->value);
1265 } else {
1266 /* reciprocal_packets_per_slave is unused if
1267 * packets_per_slave is 0 or 1, just initialize it
---
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: 31513 bytes --]
next prev parent reply other threads:[~2017-06-13 21:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-13 13:42 Michael Dilmore
2017-06-13 15:34 ` David Miller
2017-06-13 16:21 ` Joe Perches
2017-06-13 16:42 ` Jonathan Toppins
2017-06-13 17:00 ` Joe Perches
2017-06-13 17:53 ` Nikolay Aleksandrov
2017-06-13 16:46 ` David Miller
2017-06-13 21:18 ` kbuild test robot [this message]
2017-06-13 23:12 ` kbuild test robot
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=201706140550.vFu82C0V%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=andy@greyhouse.net \
--cc=j.vosburgh@gmail.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.j.dilmore@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=vfalico@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®