Hi Miroslav,

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

url:    
https://github.com/0day-ci/linux/commits/Miroslav-Lichvar/Extend-socket-timestamping-API/20170427-093243
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':
>> net/socket.c:680:28: error: 'SCM_TIMESTAMPING_PKTINFO' undeclared (first use 
>> in this function)
     put_cmsg(msg, SOL_SOCKET, SCM_TIMESTAMPING_PKTINFO,
                               ^
   net/socket.c:680:28: note: each undeclared identifier is reported only once 
for each function it appears in

vim +/SCM_TIMESTAMPING_PKTINFO +680 net/socket.c

   674          orig_dev = dev_get_by_napi_id(skb->napi_id);
   675          if (!orig_dev)
   676                  return;
   677  
   678          ts_pktinfo.if_index = orig_dev->ifindex;
   679          ts_pktinfo.pkt_length = skb->len - skb_mac_offset(skb);
 > 680          put_cmsg(msg, SOL_SOCKET, SCM_TIMESTAMPING_PKTINFO,
   681                   sizeof(ts_pktinfo), &ts_pktinfo);
   682  #endif
   683  }

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

Attachment: .config.gz
Description: application/gzip

Reply via email to