Hi Parameswaran,

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

url:    
https://github.com/0day-ci/linux/commits/R-Parameswaran/New-kernel-function-to-get-IP-overhead-on-a-socket/20170324-065003
config: x86_64-randconfig-s1-03240701 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   net/socket.c: In function 'kernel_sock_ip_overhead':
>> net/socket.c:3359: warning: unused variable 'optv6'
>> net/socket.c:3357: warning: unused variable 'np'

vim +/optv6 +3359 net/socket.c

  3351   * this is an IPv4 or IPv6 socket and the length from IP options turned
  3352   * on at the socket.
  3353   */
  3354  u32 kernel_sock_ip_overhead(struct sock *sk)
  3355  {
  3356          struct inet_sock *inet;
> 3357          struct ipv6_pinfo *np;
  3358          struct ip_options_rcu *opt;
> 3359          struct ipv6_txoptions *optv6 = NULL;
  3360          u32 overhead = 0;
  3361          bool owned_by_user;
  3362  

---
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