diff options
author | Martin KaFai Lau <kafai@fb.com> | 2020-01-08 16:34:56 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-01-09 08:46:18 -0800 |
commit | 275517ff452a535da5eef25b1c22e53fc50b0a12 (patch) | |
tree | 575a22cc0151a9fae57ebd2c23f3c58f77b20b02 /scripts/bpf_helpers_doc.py | |
parent | 65726b5b7efae718391752ae8bb85b9843fd83f4 (diff) |
bpf: Avoid storing modifier to info->btf_id
info->btf_id expects the btf_id of a struct, so it should
store the final result after skipping modifiers (if any).
It also takes this chanace to add a missing newline in one of the
bpf_log() messages.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200109003456.3855176-1-kafai@fb.com
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions