netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Hangbin Liu <liuhangbin@gmail.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
	Hannes Frederic Sowa <hannes@stressinduktion.org>,
	Nikolay Aleksandrov <nikolay@cumulusnetworks.com>,
	linus.luessing@c0d3.blue, Hangbin Liu <liuhangbin@gmail.com>
Subject: Re: [PATCH net-next] bridge: add igmpv3 and mldv2 query support
Date: Fri, 18 Nov 2016 18:16:55 +0800	[thread overview]
Message-ID: <201611181820.Hxob5LZK%fengguang.wu@intel.com> (raw)
In-Reply-To: <1479454321-31304-1-git-send-email-liuhangbin@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2634 bytes --]

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 #2: .config.gz --]
[-- Type: application/gzip, Size: 28193 bytes --]

  parent reply	other threads:[~2016-11-18 10:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-18  7:32 [PATCH net-next] bridge: add igmpv3 and mldv2 query support Hangbin Liu
2016-11-18 10:04 ` Nikolay Aleksandrov
2016-11-18 10:09   ` Nikolay Aleksandrov
2016-11-18 10:31     ` Nikolay Aleksandrov
2016-11-21  3:25       ` Hangbin Liu
2016-11-18 10:16 ` kbuild test robot [this message]
2016-11-18 10:56 ` kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201611181820.Hxob5LZK%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=hannes@stressinduktion.org \
    --cc=kbuild-all@01.org \
    --cc=linus.luessing@c0d3.blue \
    --cc=liuhangbin@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=nikolay@cumulusnetworks.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).