Commit 88d1d4a
bpf: Allow kfuncs return 'void *'
Recognize return of 'void *' from kfunc as returning unknown scalar.
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/r/20240307031228.42896-2-alexei.starovoitov@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>1 parent e63985e commit 88d1d4a
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12364 | 12364 | | |
12365 | 12365 | | |
12366 | 12366 | | |
| 12367 | + | |
| 12368 | + | |
| 12369 | + | |
12367 | 12370 | | |
12368 | 12371 | | |
12369 | 12372 | | |
| |||
0 commit comments