Linux wireless drivers development
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Johannes Berg <johannes.berg@intel.com>
Cc: kbuild-all@01.org, linux-wireless@vger.kernel.org
Subject: [mac80211-next:genl 9/9] net/wireless/nl80211.c:8469:63: error: expected ',' or ';' before ')' token
Date: Mon, 24 Oct 2016 17:36:40 +0800	[thread overview]
Message-ID: <201610241738.ScsDPJ7t%fengguang.wu@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git genl
head:   09566d222ce4d6aab069c8b7dc625675c6cca3fc
commit: 09566d222ce4d6aab069c8b7dc625675c6cca3fc [9/9] genetlink: introduce and use genl_family_attrbuf()
config: i386-randconfig-c0-10241534 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        git checkout 09566d222ce4d6aab069c8b7dc625675c6cca3fc
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   net/wireless/nl80211.c: In function 'nl80211_testmode_dump':
>> net/wireless/nl80211.c:8469:63: error: expected ',' or ';' before ')' token
      struct nlattr ** attrbuf = genl_family_attrbuf(&nl80211_fam));
                                                                  ^

vim +8469 net/wireless/nl80211.c

  8463			/*
  8464			 * 0 is a valid index, but not valid for args[0],
  8465			 * so we need to offset by 1.
  8466			 */
  8467			phy_idx = cb->args[0] - 1;
  8468		} else {
> 8469			struct nlattr ** attrbuf = genl_family_attrbuf(&nl80211_fam));
  8470	
  8471			err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize,
  8472					  attrbuf, nl80211_fam.maxattr, nl80211_policy);

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

                 reply	other threads:[~2016-10-24  9:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=201610241738.ScsDPJ7t%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=johannes.berg@intel.com \
    --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