Hi Hangbin,

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

url:    
https://github.com/0day-ci/linux/commits/Hangbin-Liu/bridge-add-igmpv3-and-mldv2-query-support/20161118-155854
config: i386-randconfig-r0-201646 (attached as .config)
compiler: gcc-5 (Debian 5.4.1-2) 5.4.1 20160904
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   net/bridge/br_multicast.c: In function 'mld_force_mld_version':
>> net/bridge/br_multicast.c:688:24: error: 'struct net' has no member named 
>> 'ipv6'
     if (dev_net(idev->dev)->ipv6.devconf_all->force_mld_version != 0)
                           ^
   net/bridge/br_multicast.c:689:28: error: 'struct net' has no member named 
'ipv6'
      return dev_net(idev->dev)->ipv6.devconf_all->force_mld_version;
                               ^
   net/bridge/br_multicast.c: In function 'br_multicast_alloc_query':
>> net/bridge/br_multicast.c:699:27: error: implicit declaration of function 
>> '__in6_dev_get' [-Werror=implicit-function-declaration]
     struct inet6_dev *idev = __in6_dev_get(br->dev);
                              ^
>> net/bridge/br_multicast.c:699:27: warning: initialization makes pointer from 
>> integer without a cast [-Wint-conversion]
>> net/bridge/br_multicast.c:699:20: warning: unused variable 'idev' 
>> [-Wunused-variable]
     struct inet6_dev *idev = __in6_dev_get(br->dev);
                       ^
   net/bridge/br_multicast.c: At top level:
   net/bridge/br_multicast.c:686:12: warning: 'mld_force_mld_version' defined 
but not used [-Wunused-function]
    static int mld_force_mld_version(const struct inet6_dev *idev)
               ^
   cc1: some warnings being treated as errors

vim +688 net/bridge/br_multicast.c

   682          return skb;
   683  }
   684  #endif
   685  
   686  static int mld_force_mld_version(const struct inet6_dev *idev)
   687  {
 > 688          if (dev_net(idev->dev)->ipv6.devconf_all->force_mld_version != 
 > 0)
 > 689                  return 
 > dev_net(idev->dev)->ipv6.devconf_all->force_mld_version;
   690          else
   691                  return idev->cnf.force_mld_version;
   692  }
   693  
   694  static struct sk_buff *br_multicast_alloc_query(struct net_bridge *br,
   695                                                  struct br_ip *addr,
   696                                                  u8 *igmp_type)
   697  {
   698          struct in_device *in_dev = __in_dev_get_rcu(br->dev);
 > 699          struct inet6_dev *idev = __in6_dev_get(br->dev);
   700          switch (addr->proto) {
   701          case htons(ETH_P_IP):
   702                  if (IGMP_V3_SEEN(in_dev))

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