diff options
author | Stanislav Fomichev <sdf@google.com> | 2022-07-14 11:54:04 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-07-19 09:40:41 -0700 |
commit | 3908fcddc65d04e069b03be49b33fae90e424631 (patch) | |
tree | 40b3fe4cbf6e500e7b8da245ca0b36b32496b798 /kernel/bpf/arraymap.c | |
parent | ab850abbcf4d52ecc0e17224bcbcf749f327d6d0 (diff) |
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 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions