mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Jason Wang <jasowang@redhat.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, mst@redhat.com, jbrouer@redhat.com,
	Jason Wang <jasowang@redhat.com>,
	Jesper Dangaard Brouer <brouer@redhat.com>
Subject: Re: [PATCH net-next 2/2] tuntap: XDP transmission
Date: Mon, 1 Jan 2018 12:09:40 +0800	[thread overview]
Message-ID: <201801011154.C4xxOFpS%fengguang.wu@intel.com> (raw)
In-Reply-To: <1514541604-12728-3-git-send-email-jasowang@redhat.com>

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

Hi Jason,

I love your patch! Yet something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Jason-Wang/XDP-transmission-for-tuntap/20180101-105946
config: i386-randconfig-s1-201800 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   net/socket.o: In function `tun_xdp_to_ptr':
>> net/socket.c:3363: multiple definition of `tun_xdp_to_ptr'
   drivers/vhost/net.o:drivers/vhost/net.c:1026: first defined here
   net/socket.o: In function `tun_ptr_to_xdp':
>> include/linux/if_tun.h:50: multiple definition of `tun_ptr_to_xdp'
   drivers/vhost/net.o:include/linux/if_tun.h:50: first defined here

vim +3363 net/socket.c

ac5a488e Sridhar Samudrala 2006-08-07  3352  
306b13eb Tom Herbert       2017-07-28  3353  int kernel_sendpage_locked(struct sock *sk, struct page *page, int offset,
306b13eb Tom Herbert       2017-07-28  3354  			   size_t size, int flags)
306b13eb Tom Herbert       2017-07-28  3355  {
306b13eb Tom Herbert       2017-07-28  3356  	struct socket *sock = sk->sk_socket;
306b13eb Tom Herbert       2017-07-28  3357  
306b13eb Tom Herbert       2017-07-28  3358  	if (sock->ops->sendpage_locked)
306b13eb Tom Herbert       2017-07-28  3359  		return sock->ops->sendpage_locked(sk, page, offset, size,
306b13eb Tom Herbert       2017-07-28  3360  						  flags);
306b13eb Tom Herbert       2017-07-28  3361  
306b13eb Tom Herbert       2017-07-28  3362  	return sock_no_sendpage_locked(sk, page, offset, size, flags);
306b13eb Tom Herbert       2017-07-28 @3363  }
306b13eb Tom Herbert       2017-07-28  3364  EXPORT_SYMBOL(kernel_sendpage_locked);
306b13eb Tom Herbert       2017-07-28  3365  

:::::: The code at line 3363 was first introduced by commit
:::::: 306b13eb3cf9515a8214bbf5d69d811371d05792 proto_ops: Add locked held versions of sendmsg and sendpage

:::::: TO: Tom Herbert <tom@quantonium.net>
:::::: CC: David S. Miller <davem@davemloft.net>

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

  parent reply	other threads:[~2018-01-01  4:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-29 10:00 [PATCH net-next 0/2] XDP transmission for tuntap Jason Wang
2017-12-29 10:00 ` [PATCH net-next 1/2] tun/tap: use ptr_ring instead of skb_array Jason Wang
2017-12-29 10:00 ` [PATCH net-next 2/2] tuntap: XDP transmission Jason Wang
2017-12-29 12:32   ` Jesper Dangaard Brouer
2018-01-02  3:00     ` Jason Wang
2018-01-01  3:48   ` kbuild test robot
2018-01-01  3:55     ` Joe Perches
2018-01-02  3:32       ` Jason Wang
2018-01-01  4:09   ` kbuild test robot [this message]
2018-01-01  8:27   ` 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=201801011154.C4xxOFpS%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=brouer@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=jbrouer@redhat.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®