aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2019-10-10 04:25:34 +0000
committerAlexei Starovoitov <[email protected]>2019-10-10 04:43:42 +0000
commite0b68fb186b251374adbd870f99b1ecea236e770 (patch)
tree6fcd7ec97cc6245287223b3e440bac098a03c726
parentlibbpf: Fix passing uninitialized bytes to setsockopt (diff)
downloadkernel-e0b68fb186b251374adbd870f99b1ecea236e770.tar.gz
kernel-e0b68fb186b251374adbd870f99b1ecea236e770.zip
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]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
-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 = {
'...',