scripts/bpf: fix xdp_md forward declaration typo
Subsystems (3)
PATCH 1/1 scripts/bpf: fix xdp_md forward declaration typo
Fix typo in struct xpd_md, generated from bpf_helpers_doc.py, which is causing compilation warnings for programs using bpf_helpers.h
Fixes 7a387bed47f7 ("scripts/bpf: teach bpf_helpers_doc.py to dump BPF helper definitions")
Signed-off-by Andrii Nakryiko <[email protected]>
--- scripts/bpf_helpers_doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/bpf_helpers_doc.py +1 -1
@@ -418,7 +418,7 @@ class PrinterHelpers(Printer): 'struct __sk_buff', 'struct sk_msg_md', - 'struct xpd_md', + 'struct xdp_md', ] known_types = { '...',
Signature · 1 line
2.17.1
Alexei Starovoitov
AppliedQuoted 6 lines · Andrii Nakryiko
Fix typo in struct
xpd_md, generated frombpf_helpers_doc.py, which is causing compilation warnings for programs usingbpf_helpers.hFixes 7a387bed47f7 ("scripts/bpf: teach bpf_helpers_doc.py to dump BPF helper definitions")Signed-off-by Andrii Nakryiko <[email protected]>
Applied. Thanks