summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-10-09 21:25:34 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-01 13:06:11 +0100
commit51aede2c777fc16472e801700dfc101f55efec56 (patch)
tree0ca7511759fc4a1cbcaa41dea51bcda1ba93ae2d
parent337b543e274fe7a8f47df3c8293cc6686ffa620f (diff)
downloadlinux-stable-51aede2c777fc16472e801700dfc101f55efec56.tar.gz
linux-stable-51aede2c777fc16472e801700dfc101f55efec56.tar.bz2
linux-stable-51aede2c777fc16472e801700dfc101f55efec56.zip
scripts/bpf: Fix xdp_md forward declaration typo
commit e0b68fb186b251374adbd870f99b1ecea236e770 upstream. 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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 cf0ee47bcbee..c23a4764dfc6 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 = {
'...',