[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201706140423.qlHxqIME%fengguang.wu@intel.com>
Date: Wed, 14 Jun 2017 04:18:31 +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-x019-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 >>):
drivers/nfc/pn533/pn533.c: In function 'pn533_alloc_poll_tg_frame':
>> drivers/nfc/pn533/pn533.c:1046:11: error: implicit declaration of function 'skb_put_zero' [-Werror=implicit-function-declaration]
nfcid3 = skb_put_zero(skb, 10);
^~~~~~~~~~~~
>> drivers/nfc/pn533/pn533.c:1046:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
nfcid3 = skb_put_zero(skb, 10);
^
cc1: some warnings being treated as errors
--
net/sctp/sm_make_chunk.c: In function 'sctp_make_auth':
>> net/sctp/sm_make_chunk.c:1299:9: error: implicit declaration of function 'skb_put_zero' [-Werror=implicit-function-declaration]
hmac = skb_put_zero(retval->skb, hmac_desc->hmac_len);
^~~~~~~~~~~~
>> net/sctp/sm_make_chunk.c:1299:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
hmac = skb_put_zero(retval->skb, hmac_desc->hmac_len);
^
cc1: some warnings being treated as errors
vim +/skb_put_zero +1046 drivers/nfc/pn533/pn533.c
1040 /* Felica params */
1041 felica = skb_put(skb, 18);
1042 memcpy(felica, felica_params, 18);
1043 get_random_bytes(felica + 2, 6);
1044
1045 /* NFCID3 */
> 1046 nfcid3 = skb_put_zero(skb, 10);
1047 memcpy(nfcid3, felica, 8);
1048
1049 /* General bytes */
---
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" (33788 bytes)
Powered by blists - more mailing lists