diff options
author | 2022-07-14 11:54:04 -0700 | |
---|---|---|
committer | 2022-07-19 09:40:41 -0700 | |
commit | 3908fcddc65d04e069b03be49b33fae90e424631 (patch) | |
tree | 40b3fe4cbf6e500e7b8da245ca0b36b32496b798 /certs | |
parent | Merge branch 'Add SEC("ksyscall") support' (diff) | |
download | linux-3908fcddc65d04e069b03be49b33fae90e424631.tar.gz linux-3908fcddc65d04e069b03be49b33fae90e424631.tar.bz2 linux-3908fcddc65d04e069b03be49b33fae90e424631.zip |
bpf: fix lsm_cgroup build errors on esoteric configs
This particular ones is about having the following:
CONFIG_BPF_LSM=y
# CONFIG_CGROUP_BPF is not set
Also, add __maybe_unused to the args for the !CONFIG_NET cases.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20220714185404.3647772-1-sdf@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions