Skip to content

Commit

Permalink
scripts/bpf: Fix xdp_md forward declaration typo
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
  • Loading branch information
anakryiko authored and Alexei Starovoitov committed Oct 10, 2019
1 parent 25bfef4 commit e0b68fb
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 e0b68fb

Please sign in to comment.