Thread (9 messages) 9 messages, 4 authors, 2016-12-22

Re: [PATCH 2/2] net: wireless: fix to uses struct

From: kbuild test robot <hidden>
Date: 2016-12-22 05:19:09
Also in: linux-wireless, lkml

Hi Ozgur,

[auto build test ERROR on mac80211-next/master]
[also build test ERROR on v4.9 next-20161221]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Ozgur-Karatas/net-wireless-fixed-to-checkpatch-errors/20161222-125128
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
config: i386-randconfig-x006-201651 (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=i386 

All errors (new ones prefixed by >>):

   net/wireless/reg.c: In function 'regulatory_hint_core':
quoted
net/wireless/reg.c:2294:28: error: 'regulatory_request' undeclared (first use in this function)
     request = kzalloc(sizeof(*regulatory_request), GFP_KERNEL);
                               ^~~~~~~~~~~~~~~~~~
   net/wireless/reg.c:2294:28: note: each undeclared identifier is reported only once for each function it appears in
   net/wireless/reg.c: In function 'regulatory_hint_user':
   net/wireless/reg.c:2316:28: error: 'regulatory_request' undeclared (first use in this function)
     request = kzalloc(sizeof(*regulatory_request), GFP_KERNEL);
                               ^~~~~~~~~~~~~~~~~~
   net/wireless/reg.c: In function 'regulatory_hint':
   net/wireless/reg.c:2388:28: error: 'regulatory_request' undeclared (first use in this function)
     request = kzalloc(sizeof(*regulatory_request), GFP_KERNEL);
                               ^~~~~~~~~~~~~~~~~~

vim +/regulatory_request +2294 net/wireless/reg.c

  2288	 * and when we restore regulatory settings.
  2289	 */
  2290	static int regulatory_hint_core(const char *alpha2)
  2291	{
  2292		struct regulatory_request *request;
  2293	
2294		request = kzalloc(sizeof(*regulatory_request), GFP_KERNEL);
  2295		if (!request)
  2296			return -ENOMEM;
  2297	

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help