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