diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2021-11-30 15:48:15 -0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-11-30 15:48:15 -0800 |
commit | e30c8fd310c77313633a47eb5c1f2ce23d353c18 (patch) | |
tree | f9e3218358a518f12f76acc5765fd6af95ef4cbd /kernel | |
parent | b98057ef730ad91b35d96658d9d8a306b618b8e5 (diff) | |
parent | d995816b77eb826e0f6d7adf4471ec191b362be0 (diff) |
Merge branch 'Apply suggestions for typeless/weak ksym series'
Kumar Kartikeya says:
====================
Three commits addressing comments for the typeless/weak ksym set. No functional
change intended. Hopefully this is simpler to read for kfunc as well.
====================
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/bpf/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c index 50f96ea4452a..47089d1d67a4 100644 --- a/kernel/bpf/syscall.c +++ b/kernel/bpf/syscall.c @@ -4804,7 +4804,7 @@ const struct bpf_func_proto bpf_kallsyms_lookup_name_proto = { .gpl_only = false, .ret_type = RET_INTEGER, .arg1_type = ARG_PTR_TO_MEM, - .arg2_type = ARG_CONST_SIZE, + .arg2_type = ARG_CONST_SIZE_OR_ZERO, .arg3_type = ARG_ANYTHING, .arg4_type = ARG_PTR_TO_LONG, }; |