diff options
author | Yonghong Song <yonghong.song@linux.dev> | 2023-08-24 09:34:17 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-08-24 18:15:16 +0300 |
commit | 393dc4bd92de3711012d791a93072c8cc94c4c57 (patch) | |
tree | 5310df4f5c3e4c8131a79b04ca19439a68eccd64 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f3bdb54f09ab4cdbca48bf7befa8997cadd8d6a1 (diff) | |
download | linux-393dc4bd92de3711012d791a93072c8cc94c4c57.tar.xz |
bpf: Remove a WARN_ON_ONCE warning related to local kptr
Currently, in function bpf_obj_free_fields(), for local kptr,
a warning will be issued if the struct does not contain any
special fields. But actually the kernel seems totally okay
with a local kptr without any special fields. Permitting
no special fields also aligns with future percpu kptr which
also allows no special fields.
Acked-by: Dave Marchevsky <davemarchevsky@fb.com>
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230824063417.201925-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions