The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Ozgur Karatas <okaratas@member.fsf.org>
Cc: kbuild-all@01.org, johannes <johannes@sipsolutions.net>,
	David Miller <davem@davemloft.net>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	netdev <netdev@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] net: wireless: fix to uses struct
Date: Thu, 22 Dec 2016 13:18:10 +0800	[thread overview]
Message-ID: <201612221317.WKpDhOcc%fengguang.wu@intel.com> (raw)
In-Reply-To: <608881482358981@web17g.yandex.ru>

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

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':
>> 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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23376 bytes --]

  parent reply	other threads:[~2016-12-22  5:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-21 22:23 [PATCH 2/2] net: wireless: fix to uses struct Ozgur Karatas
2016-12-21 22:33 ` Paul Bolle
2016-12-21 22:50   ` Ozgur Karatas
2016-12-21 23:01     ` Ozgur Karatas
2016-12-21 23:06     ` Paul Bolle
2016-12-21 23:16       ` Ozgur Karatas
2016-12-22  5:18 ` kbuild test robot [this message]
2016-12-22  7:05 ` kbuild test robot
2016-12-22  9:37 ` Arend Van Spriel

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=201612221317.WKpDhOcc%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=davem@davemloft.net \
    --cc=johannes@sipsolutions.net \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=okaratas@member.fsf.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