]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.19-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Feb 2024 13:12:45 +0000 (14:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Feb 2024 13:12:45 +0000 (14:12 +0100)
added patches:
scripts-bpf-fix-xdp_md-forward-declaration-typo.patch

queue-4.19/scripts-bpf-fix-xdp_md-forward-declaration-typo.patch [new file with mode: 0644]
queue-4.19/series

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 (file)
index 0000000..800808d
--- /dev/null
@@ -0,0 +1,32 @@
+From e0b68fb186b251374adbd870f99b1ecea236e770 Mon Sep 17 00:00:00 2001
+From: Andrii Nakryiko <andriin@fb.com>
+Date: Wed, 9 Oct 2019 21:25:34 -0700
+Subject: scripts/bpf: Fix xdp_md forward declaration typo
+
+From: Andrii Nakryiko <andriin@fb.com>
+
+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>
+---
+ 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 = {
+             '...',
index 4d0c582575e72e3ffa9846c0bc8eedc4806ec812..9ba7f231be61d258423dd766f0cc63aae684dd45 100644 (file)
@@ -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