public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Toke Høiland-Jørgensen" <toke@redhat.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [toke:xdp-queueing-08 5/10] include/net/xdp.h:549:19: error: redefinition of 'dev_xdp_enqueue'
Date: Sun, 17 Dec 2023 11:51:25 +0800	[thread overview]
Message-ID: <202312171147.k361NPR4-lkp@intel.com> (raw)

Hi Toke,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git xdp-queueing-08
head:   707bff6510161065e4e624c99c8c668b6c0114b6
commit: 901d57633459462242239a51dd6b9bed3e7d96d7 [5/10] xdp: Move bulk queue functions and data structures out of devmap.c
config: i386-buildonly-randconfig-003-20231217 (https://download.01.org/0day-ci/archive/20231217/202312171147.k361NPR4-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231217/202312171147.k361NPR4-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312171147.k361NPR4-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from fs/eventpoll.c:40:
   In file included from include/net/busy_poll.h:19:
>> include/net/xdp.h:549:19: error: redefinition of 'dev_xdp_enqueue'
   static inline int dev_xdp_enqueue(struct net_device *dev, struct xdp_frame *xdpf,
                     ^
   include/linux/bpf.h:2567:5: note: previous definition is here
   int dev_xdp_enqueue(struct net_device *dev, struct xdp_frame *xdpf,
       ^
   1 error generated.


vim +/dev_xdp_enqueue +549 include/net/xdp.h

   548	
 > 549	static inline int dev_xdp_enqueue(struct net_device *dev, struct xdp_frame *xdpf,
   550					  struct net_device *dev_rx)
   551	{
   552		return __xdp_enqueue_frame(dev, xdpf, dev_rx, NULL);
   553	}
   554	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2023-12-17  3:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202312171147.k361NPR4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=toke@redhat.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