Thread (7 messages) 7 messages, 4 authors, 2017-06-16

Re: [PATCH net-next] networking: use skb_put_zero()

flat view

From: kbuild test robot <hidden>
Date: 2017-06-13 20:19:29

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':
quoted
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);
              ^~~~~~~~~~~~
quoted
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':
quoted
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);
            ^~~~~~~~~~~~
quoted
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

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