lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201706140443.XOCAM01f%fengguang.wu@intel.com>
Date:   Wed, 14 Jun 2017 04:23:43 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Johannes Berg <johannes@...solutions.net>
Cc:     kbuild-all@...org, netdev@...r.kernel.org,
        Johannes Berg <johannes.berg@...el.com>
Subject: Re: [PATCH net-next] networking: use skb_put_zero()

Hi Johannes,

[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Johannes-Berg/networking-use-skb_put_zero/20170614-035553
config: x86_64-randconfig-x010-201724 (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 error/warnings (new ones prefixed by >>):

   lib/nlattr.c: In function '__nla_reserve_nohdr':
>> lib/nlattr.c:403:10: error: implicit declaration of function 'skb_put_zero' [-Werror=implicit-function-declaration]
     start = skb_put_zero(skb, NLA_ALIGN(attrlen));
             ^~~~~~~~~~~~
>> lib/nlattr.c:403:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     start = skb_put_zero(skb, NLA_ALIGN(attrlen));
           ^
   cc1: some warnings being treated as errors

vim +/skb_put_zero +403 lib/nlattr.c

   397	 * tailroom for the payload.
   398	 */
   399	void *__nla_reserve_nohdr(struct sk_buff *skb, int attrlen)
   400	{
   401		void *start;
   402	
 > 403		start = skb_put_zero(skb, NLA_ALIGN(attrlen));
   404	
   405		return start;
   406	}

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

Download attachment ".config.gz" of type "application/gzip" (22864 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ