Hi Pravin,

[auto build test WARNING on net/master -- if it's inappropriate base, please 
suggest rules for selecting the more suitable base]

url:    
https://github.com/0day-ci/linux/commits/Pravin-B-Shelar/openvswitch-Fix-egress-tunnel-info/20151023-053247
config: x86_64-randconfig-x010-10211707 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   net/openvswitch/actions.c: In function 'output_userspace':
>> net/openvswitch/actions.c:771:24: warning: unused variable 'info' 
>> [-Wunused-variable]
     struct ip_tunnel_info info;
                           ^

vim +/info +771 net/openvswitch/actions.c

7f8a436e Joe Stringer 2015-08-26  755                                   
ethertype = vlan_get_protocol(skb);
7f8a436e Joe Stringer 2015-08-26  756                   }
7f8a436e Joe Stringer 2015-08-26  757  
7f8a436e Joe Stringer 2015-08-26  758                   ovs_fragment(vport, 
skb, mru, ethertype);
7f8a436e Joe Stringer 2015-08-26  759           } else {
7f8a436e Joe Stringer 2015-08-26  760                   kfree_skb(skb);
7f8a436e Joe Stringer 2015-08-26  761           }
7f8a436e Joe Stringer 2015-08-26  762   } else {
738967b8 Andy Zhou    2014-09-08  763           kfree_skb(skb);
ccb1352e Jesse Gross  2011-10-25  764   }
7f8a436e Joe Stringer 2015-08-26  765  }
ccb1352e Jesse Gross  2011-10-25  766  
ccb1352e Jesse Gross  2011-10-25  767  static int output_userspace(struct 
datapath *dp, struct sk_buff *skb,
ccea7445 Neil McKee   2015-05-26  768                       struct sw_flow_key 
*key, const struct nlattr *attr,
ccea7445 Neil McKee   2015-05-26  769                       const struct nlattr 
*actions, int actions_len)
ccb1352e Jesse Gross  2011-10-25  770  {
1d8fff90 Thomas Graf  2015-07-21 @771   struct ip_tunnel_info info;
ccb1352e Jesse Gross  2011-10-25  772   struct dp_upcall_info upcall;
ccb1352e Jesse Gross  2011-10-25  773   const struct nlattr *a;
ccb1352e Jesse Gross  2011-10-25  774   int rem;
ccb1352e Jesse Gross  2011-10-25  775  
ccea7445 Neil McKee   2015-05-26  776   memset(&upcall, 0, sizeof(upcall));
ccb1352e Jesse Gross  2011-10-25  777   upcall.cmd = OVS_PACKET_CMD_ACTION;
7f8a436e Joe Stringer 2015-08-26  778   upcall.mru = OVS_CB(skb)->mru;
ccb1352e Jesse Gross  2011-10-25  779  

:::::: The code at line 771 was first introduced by commit
:::::: 1d8fff907342d2339796dbd27ea47d0e76a6a2d0 ip_tunnel: Make ovs_tunnel_info 
and ovs_key_ipv4_tunnel generic

:::::: TO: Thomas Graf <tg...@suug.ch>
:::::: CC: David S. Miller <da...@davemloft.net>

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