Linux wireless drivers development
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Arend van Spriel <arend@broadcom.com>
Cc: kbuild-all@01.org, Johannes Berg <johannes@sipsolutions.net>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	Arend van Spriel <arend@broadcom.com>
Subject: Re: [PATCH V8] nl80211: add feature for BSS selection support
Date: Wed, 24 Feb 2016 20:39:49 +0800	[thread overview]
Message-ID: <201602242003.GgMfx3kn%fengguang.wu@intel.com> (raw)
In-Reply-To: <1456316582-8672-1-git-send-email-arend@broadcom.com>

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

Hi Arend,

[auto build test WARNING on mac80211-next/master]
[also build test WARNING on next-20160223]
[cannot apply to v4.5-rc5]
[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/Arend-van-Spriel/nl80211-add-feature-for-BSS-selection-support/20160224-203113
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
config: i386-randconfig-x003-201608 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   net/wireless/nl80211.c: In function 'is_band_valid':
>> net/wireless/nl80211.c:5791:11: warning: comparison between 'enum nl80211_band' and 'enum ieee80211_band' [-Wenum-compare]
     return b < IEEE80211_NUM_BANDS && wiphy->bands[b];
              ^

vim +5791 net/wireless/nl80211.c

  5775			 * and don't require drivers to check that the
  5776			 * channel list they get isn't longer than what
  5777			 * they can scan, as long as they can scan all
  5778			 * the channels they registered at once.
  5779			 */
  5780			nla_for_each_nested(attr2, freqs, tmp2)
  5781				if (attr1 != attr2 &&
  5782				    nla_get_u32(attr1) == nla_get_u32(attr2))
  5783					return 0;
  5784		}
  5785	
  5786		return n_channels;
  5787	}
  5788	
  5789	static bool is_band_valid(struct wiphy *wiphy, enum nl80211_band b)
  5790	{
> 5791		return b < IEEE80211_NUM_BANDS && wiphy->bands[b];
  5792	}
  5793	
  5794	static int parse_bss_select(struct nlattr *nla, struct wiphy *wiphy,
  5795				    struct cfg80211_bss_selection *bss_select)
  5796	{
  5797		struct nlattr *attr[NL80211_BSS_SELECT_ATTR_MAX + 1];
  5798		struct nlattr *nest;
  5799		int err;

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

      reply	other threads:[~2016-02-24 12:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-24 12:23 [PATCH V8] nl80211: add feature for BSS selection support Arend van Spriel
2016-02-24 12:39 ` kbuild test robot [this message]

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=201602242003.GgMfx3kn%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=arend@broadcom.com \
    --cc=johannes@sipsolutions.net \
    --cc=kbuild-all@01.org \
    --cc=linux-wireless@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