]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.16-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2022 21:01:37 +0000 (22:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2022 21:01:37 +0000 (22:01 +0100)
added patches:
arm-fix-build-error-when-bpf_syscall-is-disabled.patch

queue-5.16/arm-fix-build-error-when-bpf_syscall-is-disabled.patch [new file with mode: 0644]
queue-5.16/series

diff --git a/queue-5.16/arm-fix-build-error-when-bpf_syscall-is-disabled.patch b/queue-5.16/arm-fix-build-error-when-bpf_syscall-is-disabled.patch
new file mode 100644 (file)
index 0000000..4e32368
--- /dev/null
@@ -0,0 +1,31 @@
+From 330f4c53d3c2d8b11d86ec03a964b86dc81452f5 Mon Sep 17 00:00:00 2001
+From: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+Date: Tue, 8 Mar 2022 20:18:20 +0100
+Subject: ARM: fix build error when BPF_SYSCALL is disabled
+
+From: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+
+commit 330f4c53d3c2d8b11d86ec03a964b86dc81452f5 upstream.
+
+It was missing a semicolon.
+
+Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+Reviewed-by: Nathan Chancellor <nathan@kernel.org>
+Fixes: 25875aa71dfe ("ARM: include unprivileged BPF status in Spectre V2 reporting").
+Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ arch/arm/kernel/spectre.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/arm/kernel/spectre.c
++++ b/arch/arm/kernel/spectre.c
+@@ -10,7 +10,7 @@ static bool _unprivileged_ebpf_enabled(v
+ #ifdef CONFIG_BPF_SYSCALL
+       return !sysctl_unprivileged_bpf_disabled;
+ #else
+-      return false
++      return false;
+ #endif
+ }
index 364b6ea239c076b8fe3e2bfbbfed039924122601..d69e57210ee68a580ff3316322a74abf165bcc1e 100644 (file)
@@ -34,3 +34,4 @@ arm64-mitigate-spectre-style-branch-history-side-channels.patch
 kvm-arm64-allow-smccc_arch_workaround_3-to-be-discovered-and-migrated.patch
 arm64-use-the-clearbhb-instruction-in-mitigations.patch
 arm64-proton-pack-include-unprivileged-ebpf-status-in-spectre-v2-mitigation-reporting.patch
+arm-fix-build-error-when-bpf_syscall-is-disabled.patch