mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: David Decotigny <ddecotig@gmail.com>
Cc: kbuild-all@01.org, "David S. Miller" <davem@davemloft.net>,
	Ben Hutchings <ben@decadent.org.uk>,
	Amir Vadai <amirv@mellanox.com>,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	linux-api@vger.kernel.org, linux-mips@linux-mips.org,
	fcoe-devel@open-fcoe.org, Eric Dumazet <edumazet@google.com>,
	Eugenia Emantayev <eugenia@mellanox.co.il>,
	Or Gerlitz <ogerlitz@mellanox.com>,
	Ido Shamay <idos@mellanox.com>, Joe Perches <joe@perches.com>,
	Saeed Mahameed <saeedm@mellanox.com>,
	Govindarajulu Varadarajan <_govind@gmx.com>,
	Venkata Duvvuru <VenkatKumar.Duvvuru@Emulex.Com>,
	Jeff Kirsher <jeffrey.t.kirsher@intel.com>,
	Eyal Perry <eyalpe@mellanox.com>,
	Pravin B Shelar <pshelar@nicira.com>,
	Ed Swierk <eswierk@skyportsystems.com>,
	Robert Love <robert.w.love@intel.com>,
	"James E.J. Bottomley" <JBottomley@parallels.com>,
	Yuval Mintz <Yuval.Mintz@qlogic.com>,
	David Decotigny <decot@googlers.com>
Subject: Re: [PATCH net-next v3 03/17] net: ethtool: add new ETHTOOL_GSETTINGS/SSETTINGS API
Date: Tue, 1 Dec 2015 08:04:48 +0800	[thread overview]
Message-ID: <201512010847.SVw9zucX%fengguang.wu@intel.com> (raw)
In-Reply-To: <1448921155-24764-4-git-send-email-ddecotig@gmail.com>

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

Hi David,

[auto build test WARNING on: net-next/master]
[also build test WARNING on: v4.4-rc3 next-20151127]

url:    https://github.com/0day-ci/linux/commits/David-Decotigny/RFC-new-ETHTOOL_GSETTINGS-SSETTINGS-API/20151201-062040
config: blackfin-allyesconfig (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=blackfin 

All warnings (new ones prefixed by >>):

   In file included from include/linux/netdevice.h:42:0,
                    from drivers/staging/rtl8723au/include/osdep_service.h:30,
                    from drivers/staging/rtl8723au/core/rtw_cmd.c:17:
   include/linux/ethtool.h: In function '__ethtool_add_link_modes':
>> include/linux/ethtool.h:129:3: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]

vim +129 include/linux/ethtool.h

   113		struct {
   114			ethtool_link_mode_mask_t supported;
   115			ethtool_link_mode_mask_t advertising;
   116			ethtool_link_mode_mask_t lp_advertising;
   117		} link_modes;
   118	};
   119	
   120	/* helper function for ethtool_build_link_mode and ethtool_add_link_modes */
   121	static inline int
   122	__ethtool_add_link_modes(ethtool_link_mode_mask_t *dst,
   123				 unsigned nindices,
   124				 const enum ethtool_link_mode_bit_indices *indices) {
   125		unsigned i;
   126		int rv = 0;
   127	
   128		for (i = 0 ; i < nindices ; ++i) {
 > 129			if (__ETHTOOL_LINK_MODE_IS_VALID_BIT(indices[i]))
   130				set_bit(indices[i], dst->mask);
   131			else
   132				rv = -1;
   133		}
   134		return rv;
   135	}
   136	
   137	/* build link mode mask from variadic list of bit indices, return 0

---
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: 39033 bytes --]

  reply	other threads:[~2015-12-01  0:06 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-30 22:05 [PATCH net-next v3 00/17] RFC: " David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 01/17] net: usnic: remove unused call to ethtool_ops::get_settings David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 02/17] net: usnic: use __ethtool_get_settings David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 03/17] net: ethtool: add new ETHTOOL_GSETTINGS/SSETTINGS API David Decotigny
2015-12-01  0:04   ` kbuild test robot [this message]
2015-12-01  0:47     ` David Decotigny
2015-12-01  1:52   ` Ben Hutchings
2015-12-02  3:13   ` David Miller
2015-12-02  6:00     ` David Decotigny
2015-12-02 17:31       ` David Miller
2015-11-30 22:05 ` [PATCH net-next v3 04/17] tx4939: use __ethtool_get_ksettings David Decotigny
2015-11-30 23:51   ` Ralf Baechle
2015-11-30 22:05 ` [PATCH net-next v3 05/17] net: usnic: " David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 06/17] net: bonding: " David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 07/17] net: ipvlan: " David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 08/17] net: macvlan: " David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 09/17] net: team: " David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 10/17] net: fcoe: " David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 11/17] net: rdma: " David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 12/17] net: 8021q: " David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 13/17] net: bridge: " David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 14/17] net: core: " David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 15/17] net: ethtool: remove unused __ethtool_get_settings David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 16/17] net: mlx4: convenience predicate for debug messages David Decotigny
2015-11-30 22:05 ` [PATCH net-next v3 17/17] net: mlx4: use new ETHTOOL_G/SSETTINGS API David Decotigny

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=201512010847.SVw9zucX%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=JBottomley@parallels.com \
    --cc=VenkatKumar.Duvvuru@Emulex.Com \
    --cc=Yuval.Mintz@qlogic.com \
    --cc=_govind@gmx.com \
    --cc=amirv@mellanox.com \
    --cc=ben@decadent.org.uk \
    --cc=davem@davemloft.net \
    --cc=ddecotig@gmail.com \
    --cc=decot@googlers.com \
    --cc=edumazet@google.com \
    --cc=eswierk@skyportsystems.com \
    --cc=eugenia@mellanox.co.il \
    --cc=eyalpe@mellanox.com \
    --cc=fcoe-devel@open-fcoe.org \
    --cc=idos@mellanox.com \
    --cc=jeffrey.t.kirsher@intel.com \
    --cc=joe@perches.com \
    --cc=kbuild-all@01.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=netdev@vger.kernel.org \
    --cc=ogerlitz@mellanox.com \
    --cc=pshelar@nicira.com \
    --cc=robert.w.love@intel.com \
    --cc=saeedm@mellanox.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®