From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC] Add BPF_PROG_TYPE_CGROUP_IOCTL
Date: Thu, 08 Oct 2020 02:57:50 +0800 [thread overview]
Message-ID: <202010080211.5myn2bJS-lkp@intel.com> (raw)
In-Reply-To: <20201007152355.2446741-1-Kenny.Ho@amd.com>
[-- Attachment #1: Type: text/plain, Size: 2710 bytes --]
Hi Kenny,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on bpf-next/master]
[also build test WARNING on bpf/master ipvs/master linus/master v5.9-rc8 next-20201007]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Kenny-Ho/Add-BPF_PROG_TYPE_CGROUP_IOCTL/20201007-232535
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: arm64-randconfig-r014-20201008 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 4d1d8ae7100ec3c7e1709addb7b3ec6f9ad0b44f)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/0day-ci/linux/commit/1846d5807418c25df81e9aa55e31dc21caf80366
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Kenny-Ho/Add-BPF_PROG_TYPE_CGROUP_IOCTL/20201007-232535
git checkout 1846d5807418c25df81e9aa55e31dc21caf80366
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> kernel/bpf/cgroup.c:1211:11: warning: incompatible pointer to integer conversion initializing '__u64' (aka 'unsigned long long') with an expression of type 'struct file *' [-Wint-conversion]
.filp = filp,
^~~~
1 warning generated.
vim +1211 kernel/bpf/cgroup.c
1205
1206 int __cgroup_bpf_check_ioctl_permission(struct file *filp, unsigned int cmd, unsigned long arg,
1207 enum bpf_attach_type type)
1208 {
1209 struct cgroup *cgrp;
1210 struct bpf_cgroup_ioctl_ctx ctx = {
> 1211 .filp = filp,
1212 .cmd = cmd,
1213 .arg = arg,
1214 };
1215 int allow = 1;
1216
1217 rcu_read_lock();
1218 cgrp = task_dfl_cgroup(current);
1219 allow = BPF_PROG_RUN_ARRAY(cgrp->bpf.effective[type], &ctx,
1220 BPF_PROG_RUN);
1221 rcu_read_unlock();
1222
1223 return !allow;
1224 }
1225
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30162 bytes --]
next prev parent reply other threads:[~2020-10-07 18:57 UTC|newest]
Thread overview: 113+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-07 15:23 [RFC] Add BPF_PROG_TYPE_CGROUP_IOCTL Kenny Ho
2020-10-07 15:23 ` Kenny Ho
2020-10-07 15:23 ` Kenny Ho
2020-10-07 18:57 ` kernel test robot
2020-10-07 18:57 ` kernel test robot [this message]
2020-11-02 19:23 ` Kenny Ho
2020-11-02 19:23 ` Kenny Ho
2020-11-02 19:23 ` Kenny Ho
2020-11-03 5:32 ` Alexei Starovoitov
2020-11-03 5:32 ` Alexei Starovoitov
2020-11-03 5:32 ` Alexei Starovoitov
2020-11-03 5:39 ` Kenny Ho
2020-11-03 5:39 ` Kenny Ho
2020-11-03 5:39 ` Kenny Ho
2020-11-03 5:42 ` Alexei Starovoitov
2020-11-03 5:42 ` Alexei Starovoitov
2020-11-03 19:19 ` Kenny Ho
2020-11-03 19:19 ` Kenny Ho
2020-11-03 21:04 ` Alexei Starovoitov
2020-11-03 21:04 ` Alexei Starovoitov
2020-11-03 21:04 ` Alexei Starovoitov
2020-11-03 22:57 ` Kenny Ho
2020-11-03 22:57 ` Kenny Ho
2020-11-03 22:57 ` Kenny Ho
2020-11-03 23:28 ` Alexei Starovoitov
2020-11-03 23:28 ` Alexei Starovoitov
2021-02-01 14:49 ` Daniel Vetter
2021-02-01 14:49 ` Daniel Vetter
2021-02-01 14:49 ` Daniel Vetter
2021-02-01 14:49 ` Daniel Vetter
2021-02-01 16:47 ` Kenny Ho
2021-02-01 16:47 ` Kenny Ho
2021-02-01 16:47 ` Kenny Ho
2021-02-01 16:51 ` Kenny Ho
2021-02-01 16:51 ` Kenny Ho
2021-02-01 16:51 ` Kenny Ho
2021-02-01 16:51 ` Kenny Ho
2021-02-03 11:09 ` Daniel Vetter
2021-02-03 11:09 ` Daniel Vetter
2021-02-03 11:09 ` Daniel Vetter
2021-02-03 11:09 ` Daniel Vetter
2021-02-03 19:01 ` Kenny Ho
2021-02-03 19:01 ` Kenny Ho
2021-02-03 19:01 ` Kenny Ho
2021-02-03 19:01 ` Kenny Ho
2021-02-05 13:49 ` Daniel Vetter
2021-02-05 13:49 ` Daniel Vetter
2021-02-05 13:49 ` Daniel Vetter
2021-02-05 13:49 ` Daniel Vetter
2021-05-07 2:06 ` Kenny Ho
2021-05-07 2:06 ` Kenny Ho
2021-05-07 2:06 ` Kenny Ho
2021-05-07 2:06 ` Kenny Ho
2021-05-07 8:59 ` Daniel Vetter
2021-05-07 8:59 ` Daniel Vetter
2021-05-07 8:59 ` Daniel Vetter
2021-05-07 8:59 ` Daniel Vetter
2021-05-07 15:33 ` Kenny Ho
2021-05-07 15:33 ` Kenny Ho
2021-05-07 15:33 ` Kenny Ho
2021-05-07 15:33 ` Kenny Ho
2021-05-07 16:13 ` Daniel Vetter
2021-05-07 16:13 ` Daniel Vetter
2021-05-07 16:13 ` Daniel Vetter
2021-05-07 16:13 ` Daniel Vetter
2021-05-07 16:19 ` Alex Deucher
2021-05-07 16:19 ` Alex Deucher
2021-05-07 16:19 ` Alex Deucher
2021-05-07 16:19 ` Alex Deucher
2021-05-07 16:26 ` Daniel Vetter
2021-05-07 16:26 ` Daniel Vetter
2021-05-07 16:26 ` Daniel Vetter
2021-05-07 16:26 ` Daniel Vetter
2021-05-07 16:31 ` Alex Deucher
2021-05-07 16:31 ` Alex Deucher
2021-05-07 16:31 ` Alex Deucher
2021-05-07 16:31 ` Alex Deucher
2021-05-07 16:50 ` Alex Deucher
2021-05-07 16:50 ` Alex Deucher
2021-05-07 16:50 ` Alex Deucher
2021-05-07 16:50 ` Alex Deucher
2021-05-07 16:54 ` Daniel Vetter
2021-05-07 16:54 ` Daniel Vetter
2021-05-07 16:54 ` Daniel Vetter
2021-05-07 16:54 ` Daniel Vetter
2021-05-07 17:04 ` Kenny Ho
2021-05-07 17:04 ` Kenny Ho
2021-05-07 17:04 ` Kenny Ho
2021-05-07 17:04 ` Kenny Ho
2021-05-07 19:33 ` Tejun Heo
2021-05-07 19:33 ` Tejun Heo
2021-05-07 19:33 ` Tejun Heo
2021-05-07 19:33 ` Tejun Heo
2021-05-07 19:55 ` Alex Deucher
2021-05-07 19:55 ` Alex Deucher
2021-05-07 19:55 ` Alex Deucher
2021-05-07 19:55 ` Alex Deucher
2021-05-07 20:59 ` Tejun Heo
2021-05-07 20:59 ` Tejun Heo
2021-05-07 20:59 ` Tejun Heo
2021-05-07 20:59 ` Tejun Heo
2021-05-07 22:30 ` Alex Deucher
2021-05-07 22:30 ` Alex Deucher
2021-05-07 22:30 ` Alex Deucher
2021-05-07 22:30 ` Alex Deucher
2021-05-07 23:45 ` Tejun Heo
2021-05-07 23:45 ` Tejun Heo
2021-05-07 23:45 ` Tejun Heo
2021-05-07 23:45 ` Tejun Heo
2021-05-11 15:48 ` Alex Deucher
2021-05-11 15:48 ` Alex Deucher
2021-05-11 15:48 ` Alex Deucher
2021-05-11 15:48 ` Alex Deucher
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=202010080211.5myn2bJS-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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 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.