Search Linux Wireless

Re: [PATCH v2 3/9] cfg80211: add add_nan_func / rm_nan_func

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

 



Hi Ayala,

[auto build test WARNING on mac80211-next/master]
[also build test WARNING on next-20160916]
[cannot apply to v4.8-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Luca-Coelho/Add-support-for-Neighbor-Awareness-Networking/20160916-164553
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
config: x86_64-randconfig-v0-09161926 (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=x86_64 

All warnings (new ones prefixed by >>):

   In file included from include/uapi/linux/stddef.h:1:0,
                    from include/linux/stddef.h:4,
                    from include/uapi/linux/posix_types.h:4,
                    from include/uapi/linux/types.h:13,
                    from include/linux/types.h:5,
                    from include/uapi/linux/if.h:23,
                    from net/wireless/nl80211.c:9:
   net/wireless/nl80211.c: In function 'nl80211_nan_add_func':
   net/wireless/nl80211.c:10588:30: error: implicit declaration of function 'genl_info_snd_portid' [-Werror=implicit-function-declaration]
         wdev->owner_nlportid != genl_info_snd_portid(info))
                                 ^
   include/linux/compiler.h:149:30: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                 ^~~~
>> net/wireless/nl80211.c:10587:2: note: in expansion of macro 'if'
     if (wdev->owner_nlportid &&
     ^~
   net/wireless/nl80211.c:10785:6: error: implicit declaration of function 'nla_put_u64' [-Werror=implicit-function-declaration]
     if (nla_put_u64(msg, NL80211_ATTR_COOKIE, func->cookie))
         ^
   include/linux/compiler.h:149:30: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                 ^~~~
   net/wireless/nl80211.c:10785:2: note: in expansion of macro 'if'
     if (nla_put_u64(msg, NL80211_ATTR_COOKIE, func->cookie))
     ^~
   cc1: some warnings being treated as errors

vim +/if +10587 net/wireless/nl80211.c

 10571		struct wireless_dev *wdev = info->user_ptr[1];
 10572		struct nlattr *tb[NUM_NL80211_NAN_FUNC_ATTR], *func_attr;
 10573		struct cfg80211_nan_func *func;
 10574		struct sk_buff *msg = NULL;
 10575		void *hdr = NULL;
 10576		int err = 0;
 10577	
 10578		if (wdev->iftype != NL80211_IFTYPE_NAN)
 10579			return -EOPNOTSUPP;
 10580	
 10581		if (!wdev->nan_started)
 10582			return -ENOTCONN;
 10583	
 10584		if (!info->attrs[NL80211_ATTR_NAN_FUNC])
 10585			return -EINVAL;
 10586	
 10587		if (wdev->owner_nlportid &&
 10588		    wdev->owner_nlportid != genl_info_snd_portid(info))
 10589			return -ENOTCONN;
 10590	
 10591		err = nla_parse(tb, NL80211_NAN_FUNC_ATTR_MAX,
 10592				nla_data(info->attrs[NL80211_ATTR_NAN_FUNC]),
 10593				nla_len(info->attrs[NL80211_ATTR_NAN_FUNC]),
 10594				nl80211_nan_func_policy);
 10595		if (err)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[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