Skip to content

Commit

Permalink
scripts/bpf: Fix xdp_md forward declaration typo
Browse files Browse the repository at this point in the history
commit e0b68fb 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: 7a387be ("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>
  • Loading branch information
Andrii Nakryiko authored and Greg Kroah-Hartman committed Mar 1, 2024
1 parent 337b543 commit 51aede2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bpf_helpers_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ class PrinterHelpers(Printer):

'struct __sk_buff',
'struct sk_msg_md',
'struct xpd_md',
'struct xdp_md',
]
known_types = {
'...',
Expand Down

0 comments on commit 51aede2

Please sign in to comment.