From 1ae1805ef05f24030a3a06b3728dc4eaf7d06b11 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 27 Feb 2024 14:12:45 +0100 Subject: [PATCH] 4.19-stable patches added patches: scripts-bpf-fix-xdp_md-forward-declaration-typo.patch --- ...-fix-xdp_md-forward-declaration-typo.patch | 32 +++++++++++++++++++ queue-4.19/series | 1 + 2 files changed, 33 insertions(+) create mode 100644 queue-4.19/scripts-bpf-fix-xdp_md-forward-declaration-typo.patch diff --git a/queue-4.19/scripts-bpf-fix-xdp_md-forward-declaration-typo.patch b/queue-4.19/scripts-bpf-fix-xdp_md-forward-declaration-typo.patch new file mode 100644 index 00000000000..800808d3b9c --- /dev/null +++ b/queue-4.19/scripts-bpf-fix-xdp_md-forward-declaration-typo.patch @@ -0,0 +1,32 @@ +From e0b68fb186b251374adbd870f99b1ecea236e770 Mon Sep 17 00:00:00 2001 +From: Andrii Nakryiko +Date: Wed, 9 Oct 2019 21:25:34 -0700 +Subject: scripts/bpf: Fix xdp_md forward declaration typo + +From: Andrii Nakryiko + +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 +Signed-off-by: Alexei Starovoitov +Link: https://lore.kernel.org/bpf/20191010042534.290562-1-andriin@fb.com +Signed-off-by: Greg Kroah-Hartman +--- + scripts/bpf_helpers_doc.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- 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 = { + '...', diff --git a/queue-4.19/series b/queue-4.19/series index 4d0c582575e..9ba7f231be6 100644 --- a/queue-4.19/series +++ b/queue-4.19/series @@ -49,3 +49,4 @@ pci-msi-prevent-msi-hardware-interrupt-number-truncation.patch kvm-arm64-vgic-its-test-for-valid-irq-in-its_sync_lpi_pending_table.patch kvm-arm64-vgic-its-test-for-valid-irq-in-movall-handler.patch fs-aio-restrict-kiocb_set_cancel_fn-to-i-o-submitted-via-libaio.patch +scripts-bpf-fix-xdp_md-forward-declaration-typo.patch -- 2.47.2