[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201704271250.6GkxmmeE%fengguang.wu@intel.com>
Date: Thu, 27 Apr 2017 12:09:50 +0800
From: kbuild test robot <lkp@...el.com>
To: Miroslav Lichvar <mlichvar@...hat.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org,
Richard Cochran <richardcochran@...il.com>,
Willem de Bruijn <willemb@...gle.com>,
Soheil Hassas Yeganeh <soheil@...gle.com>,
"Keller, Jacob E" <jacob.e.keller@...el.com>,
Denny Page <dennypage@...com>, Jiri Benc <jbenc@...hat.com>
Subject: Re: [PATCH v1 net-next 3/6] net: add new control message for
incoming HW-timestamped packets
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
Download attachment ".config.gz" of type "application/gzip" (49232 bytes)
Powered by blists - more mailing lists