Commit e0b68fb1 authored by Andrii Nakryiko's avatar Andrii Nakryiko Committed by Alexei Starovoitov

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: 7a387bed ("scripts/bpf: teach bpf_helpers_doc.py to dump BPF helper definitions")
Signed-off-by: default avatarAndrii Nakryiko <andriin@fb.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191010042534.290562-1-andriin@fb.com
parent 25bfef43
...@@ -418,7 +418,7 @@ class PrinterHelpers(Printer): ...@@ -418,7 +418,7 @@ class PrinterHelpers(Printer):
'struct __sk_buff', 'struct __sk_buff',
'struct sk_msg_md', 'struct sk_msg_md',
'struct xpd_md', 'struct xdp_md',
] ]
known_types = { known_types = {
'...', '...',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment