diff options
| author | Andrii Nakryiko <[email protected]> | 2019-10-10 04:25:34 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-10-10 04:43:42 +0000 |
| commit | e0b68fb186b251374adbd870f99b1ecea236e770 (patch) | |
| tree | 6fcd7ec97cc6245287223b3e440bac098a03c726 | |
| parent | libbpf: Fix passing uninitialized bytes to setsockopt (diff) | |
| download | kernel-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-x | scripts/bpf_helpers_doc.py | 2 |
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 = { '...', |
