From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [cilium:pr/new-api-tcx2 2/5] kernel/bpf/mprog.c:319:31: sparse: sparse: duplicate [noderef]
Date: Thu, 4 May 2023 12:53:08 +0800 [thread overview]
Message-ID: <202305041242.4LUCcFPT-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "low confidence static check warning: kernel/bpf/mprog.c:319:31: sparse: sparse: duplicate [noderef]"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: Daniel Borkmann <daniel@iogearbox.net>
TO: Daniel Borkmann <daniel@iogearbox.net>
tree: https://github.com/cilium/linux.git pr/new-api-tcx2
head: 921918340afd770a43cabc1493080df36863b5c5
commit: abe11a7d6ecffb6402a53bf8b0bd0fc113b916e9 [2/5] bpf: Add generic attach/detach/query API for multi-progs
:::::: branch date: 15 hours ago
:::::: commit date: 19 hours ago
config: parisc-randconfig-s051-20230430 (https://download.01.org/0day-ci/archive/20230504/202305041242.4LUCcFPT-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/cilium/linux/commit/abe11a7d6ecffb6402a53bf8b0bd0fc113b916e9
git remote add cilium https://github.com/cilium/linux.git
git fetch --no-tags cilium pr/new-api-tcx2
git checkout abe11a7d6ecffb6402a53bf8b0bd0fc113b916e9
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=parisc olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=parisc SHELL=/bin/bash kernel/bpf/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/r/202305041242.4LUCcFPT-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> kernel/bpf/mprog.c:319:31: sparse: sparse: duplicate [noderef]
>> kernel/bpf/mprog.c:319:31: sparse: sparse: multiple address spaces given: __user & __user
kernel/bpf/mprog.c:320:31: sparse: sparse: multiple address spaces given: __user & __user
vim +319 kernel/bpf/mprog.c
abe11a7d6ecffb Daniel Borkmann 2022-10-05 315
abe11a7d6ecffb Daniel Borkmann 2022-10-05 316 int bpf_mprog_query(const union bpf_attr *attr, union bpf_attr __user *uattr,
abe11a7d6ecffb Daniel Borkmann 2022-10-05 317 struct bpf_mprog_entry *entry)
abe11a7d6ecffb Daniel Borkmann 2022-10-05 318 {
abe11a7d6ecffb Daniel Borkmann 2022-10-05 @319 u32 __user *uprog_id, __user *uprog_af;
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-05-04 4:53 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=202305041242.4LUCcFPT-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/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.