summaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-10-09 21:25:34 -0700
committerAlexei Starovoitov <ast@kernel.org>2019-10-09 21:43:42 -0700
commite0b68fb186b251374adbd870f99b1ecea236e770 (patch)
tree6fcd7ec97cc6245287223b3e440bac098a03c726 /scripts/bpf_helpers_doc.py
parent25bfef430e960e695403b5d9c8dcc11b9f5d62be (diff)
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 <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20191010042534.290562-1-andriin@fb.com
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
-rwxr-xr-xscripts/bpf_helpers_doc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bpf_helpers_doc.py b/scripts/bpf_helpers_doc.py
index 15d3d83d6297..7df9ce598ff9 100755
--- a/scripts/bpf_helpers_doc.py
+++ b/scripts/bpf_helpers_doc.py
@@ -418,7 +418,7 @@ class PrinterHelpers(Printer):
'struct __sk_buff',
'struct sk_msg_md',
- 'struct xpd_md',
+ 'struct xdp_md',
]
known_types = {
'...',