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: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All errors (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'; did you mean 'ipv4'?
     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'; did you mean 'ipv4'?
      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);
                       ^~~~
   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;

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