Re: [PATCH v2 net-next 4/7] net: add new control message for incoming HW-timestamped packets
From: kbuild test robot <hidden>
Date: 2017-05-02 16:21:10
Attachments
- .config.gz [application/gzip] 49232 bytes
From: kbuild test robot <hidden>
Date: 2017-05-02 16:21:10
Hi Miroslav, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Miroslav-Lichvar/Extend-socket-timestamping-API/20170502-212515 config: xtensa-allmodconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=xtensa All errors (new ones prefixed by >>): net/socket.c: In function 'put_ts_pktinfo':
quoted
net/socket.c:685:28: error: 'SCM_TIMESTAMPING_PKTINFO' undeclared (first use in this function)
put_cmsg(msg, SOL_SOCKET, SCM_TIMESTAMPING_PKTINFO,
^
net/socket.c:685:28: note: each undeclared identifier is reported only once for each function it appears in
vim +/SCM_TIMESTAMPING_PKTINFO +685 net/socket.c
679
680 if (ifindex == 0)
681 return;
682
683 ts_pktinfo.if_index = ifindex;
684 ts_pktinfo.pkt_length = skb->len - skb_mac_offset(skb);
> 685 put_cmsg(msg, SOL_SOCKET, SCM_TIMESTAMPING_PKTINFO,
686 sizeof(ts_pktinfo), &ts_pktinfo);
687 }
688
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation