* [cilium:pr/new-api-tcx2 2/5] kernel/bpf/mprog.c:319:31: sparse: sparse: duplicate [noderef]
@ 2023-05-04 4:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-05-04 4:53 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-04 4:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-04 4:53 [cilium:pr/new-api-tcx2 2/5] kernel/bpf/mprog.c:319:31: sparse: sparse: duplicate [noderef] kernel test robot
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.