All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: David Lamparter <equinox@diac24.net>
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
	amine.kherbouche@6wind.com, roopa@cumulusnetworks.com,
	David Lamparter <equinox@diac24.net>
Subject: Re: [PATCH 3/6] mpls: add VPLS entry points
Date: Sun, 20 Aug 2017 02:27:59 +0800	[thread overview]
Message-ID: <201708200203.Lx6M5gpL%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170816170202.456851-4-equinox@diac24.net>

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

Hi David,

[auto build test ERROR on net-next/master]
[also build test ERROR on next-20170817]
[cannot apply to v4.13-rc5]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/David-Lamparter/bridge-learn-dst-metadata-in-FDB/20170820-001849
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

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

   In file included from net/mpls/af_mpls.c:25:0:
>> net/mpls/internal.h:231:19: error: function declaration isn't a prototype [-Werror=strict-prototypes]
    static inline int vpls_rcv(skb, in_dev, pt, rt, hdr, orig_dev)
                      ^
   net/mpls/internal.h: In function 'vpls_rcv':
>> net/mpls/internal.h:233:2: warning: passing argument 1 of 'kfree_skb' makes pointer from integer without a cast
     kfree_skb(skb);
     ^
   In file included from net/mpls/af_mpls.c:2:0:
   include/linux/skbuff.h:956:6: note: expected 'struct sk_buff *' but argument is of type 'int'
    void kfree_skb(struct sk_buff *skb);
         ^
   net/mpls/af_mpls.c: In function 'mpls_rt_xmit':
   net/mpls/af_mpls.c:459:45: warning: 'out_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
     out_mdev = out_dev ? mpls_dev_get(out_dev) : NULL;
                                                ^
   cc1: some warnings being treated as errors
--
   In file included from net/mpls/mpls_iptunnel.c:28:0:
>> net/mpls/internal.h:231:19: error: function declaration isn't a prototype [-Werror=strict-prototypes]
    static inline int vpls_rcv(skb, in_dev, pt, rt, hdr, orig_dev)
                      ^
   net/mpls/internal.h: In function 'vpls_rcv':
>> net/mpls/internal.h:233:2: warning: passing argument 1 of 'kfree_skb' makes pointer from integer without a cast
     kfree_skb(skb);
     ^
   In file included from net/mpls/mpls_iptunnel.c:14:0:
   include/linux/skbuff.h:956:6: note: expected 'struct sk_buff *' but argument is of type 'int'
    void kfree_skb(struct sk_buff *skb);
         ^
   cc1: some warnings being treated as errors

vim +231 net/mpls/internal.h

   229	
   230	#else /* !CONFIG_MPLS_VPLS */
 > 231	static inline int vpls_rcv(skb, in_dev, pt, rt, hdr, orig_dev)
   232	{
 > 233		kfree_skb(skb);
   234		return NET_RX_DROP;
   235	}
   236	static inline int is_vpls_dev(struct net_device *dev)
   237	{
   238		return 0;
   239	}
   240	

---
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: 50949 bytes --]

  reply	other threads:[~2017-08-19 18:28 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-16 17:01 [RFC net-next] VPLS support David Lamparter
2017-08-16 17:01 ` [PATCH 1/6] bridge: learn dst metadata in FDB David Lamparter
2017-08-16 20:38   ` Nikolay Aleksandrov
2017-08-16 20:38     ` [Bridge] " Nikolay Aleksandrov
2017-08-17 11:03     ` David Lamparter
2017-08-17 11:03       ` [Bridge] " David Lamparter
2017-08-17 11:39       ` Nikolay Aleksandrov
2017-08-17 11:39         ` [Bridge] " Nikolay Aleksandrov
2017-08-17 11:51         ` Nikolay Aleksandrov
2017-08-17 11:51           ` [Bridge] " Nikolay Aleksandrov
2017-08-17 12:10           ` David Lamparter
2017-08-17 12:10             ` [Bridge] " David Lamparter
2017-08-17 12:19             ` Nikolay Aleksandrov
2017-08-17 12:19               ` [Bridge] " Nikolay Aleksandrov
2017-08-17 12:20             ` David Lamparter
2017-08-17 12:20               ` [Bridge] " David Lamparter
2017-08-17 12:45         ` David Lamparter
2017-08-17 12:45           ` [Bridge] " David Lamparter
2017-08-17 13:04           ` Nikolay Aleksandrov
2017-08-17 13:04             ` [Bridge] " Nikolay Aleksandrov
2017-08-17 16:16     ` David Lamparter
2017-08-17 16:16       ` [Bridge] " David Lamparter
2017-08-16 17:01 ` [PATCH 2/6] mpls: split forwarding path on rx/tx boundary David Lamparter
2017-08-19 17:10   ` kbuild test robot
2017-08-19 17:42   ` kbuild test robot
2017-08-16 17:01 ` [PATCH 3/6] mpls: add VPLS entry points David Lamparter
2017-08-19 18:27   ` kbuild test robot [this message]
2017-08-21 14:01   ` Amine Kherbouche
2017-08-21 15:55     ` David Lamparter
2017-08-21 16:13       ` Amine Kherbouche
2017-08-16 17:02 ` [PATCH 4/6] mpls: VPLS support David Lamparter
2017-08-21 15:14   ` Amine Kherbouche
2017-08-21 16:18     ` David Lamparter
2017-08-21 16:11   ` Amine Kherbouche
2017-08-16 17:02 ` [PATCH 5/6] bridge: add VPLS pseudowire info in fdb dump David Lamparter
2017-08-16 17:02 ` [PATCH 6/6] mpls: pseudowire control word support David Lamparter

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=201708200203.Lx6M5gpL%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=amine.kherbouche@6wind.com \
    --cc=equinox@diac24.net \
    --cc=kbuild-all@01.org \
    --cc=netdev@vger.kernel.org \
    --cc=roopa@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.