Search Linux Wireless

[mac80211-next:genl 9/9] net/wireless/nl80211.c:8469:63: error: expected ',' or ';' before ')' token

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux