bpf: btf: allow typedef func_proto
Status from this message: Applied, Thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: btf: allow typedef func_protokernel/ | +2 | 0 replies | |
| 2/2 | tools/bpf: fix test_btf for typedef func_proto casetools/ | +3 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Martin KaFai Lau |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf 0/2] bpf: btf: allow typedef func_proto
The current btf implementation disallows the typedef of a func_proto type. This actually is allowed per C standard. This patch fixed btf verification to permit such types. Patch #1 fixed the kernel side and Patch #2 fixed the tools test_btf test.
Yonghong Song (2):
bpf: btf: allow typedef func_proto tools/bpf: fix test_btf for typedef func_proto case
kernel/bpf/btf.c | 3 ++- tools/testing/selftests/bpf/test_btf.c | 9 +++------ 2 files changed, 5 insertions(+), 7 deletions(-)
Signature · 1 line
2.17.1