Hi,

[auto build test ERROR on net-next/master]
[also build test ERROR on v4.7-rc7 next-20160719]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Yoshihiro-Shimoda/packet-fix-second-argument-of-sock_tx_timestamp/20160719-194240
config: i386-defconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   net/packet/af_packet.c: In function 'tpacket_snd':
>> net/packet/af_packet.c:2645:18: error: 'sk' undeclared (first use in this 
>> function)
     sockc.tsflags = sk->sk_tsflags;
                     ^~
   net/packet/af_packet.c:2645:18: note: each undeclared identifier is reported 
only once for each function it appears in

vim +/sk +2645 net/packet/af_packet.c

  2639                          goto out;
  2640                  proto   = saddr->sll_protocol;
  2641                  addr    = saddr->sll_addr;
  2642                  dev = dev_get_by_index(sock_net(&po->sk), 
saddr->sll_ifindex);
  2643          }
  2644  
> 2645          sockc.tsflags = sk->sk_tsflags;
  2646          if (msg->msg_controllen) {
  2647                  err = sock_cmsg_send(&po->sk, msg, &sockc);
  2648                  if (unlikely(err))

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

Attachment: .config.gz
Description: Binary data

Reply via email to