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] net/core/xdp.c:939:6: warning: no previous prototype for function 'dev_check_flush'
Date: Tue, 16 Jan 2024 09:11:17 +0800 [thread overview]
Message-ID: <202401160923.IMAFouqs-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: 6b7e918c9c07efda4a33ce43d8926dfa59db82a3
commit: 96cd8dc4671edf2d40a17ed13629be341995b8f5 [5/10] xdp: Move bulk queue functions and data structures out of devmap.c
config: x86_64-randconfig-015-20240116 (https://download.01.org/0day-ci/archive/20240116/202401160923.IMAFouqs-lkp@intel.com/config)
compiler: ClangBuiltLinux clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240116/202401160923.IMAFouqs-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/202401160923.IMAFouqs-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> net/core/xdp.c:939:6: warning: no previous prototype for function 'dev_check_flush' [-Wmissing-prototypes]
939 | bool dev_check_flush(void)
| ^
net/core/xdp.c:939:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
939 | bool dev_check_flush(void)
| ^
| static
1 warning generated.
vim +/dev_check_flush +939 net/core/xdp.c
937
938 #ifdef CONFIG_DEBUG_NET
> 939 bool dev_check_flush(void)
940 {
941 if (list_empty(this_cpu_ptr(&dev_flush_list)))
942 return false;
943 __xdp_dev_flush();
944 return true;
945 }
946 #endif
947
948
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-01-16 1:11 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=202401160923.IMAFouqs-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 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.