All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: fix compilation error when BPF_SYSCALL is disabled
@ 2022-03-08 19:18 ` Emmanuel Gil Peyrot
  0 siblings, 0 replies; 6+ messages in thread
From: Emmanuel Gil Peyrot @ 2022-03-08 19:18 UTC (permalink / raw)
  To: Russell King, Catalin Marinas, linux-arm-kernel, linux-kernel
  Cc: Emmanuel Gil Peyrot

It was missing a semicolon.

Fixes build error introduced in
25875aa71dfefd1959f07e626c4d285b88b27ac2.

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
---
 arch/arm/kernel/spectre.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/kernel/spectre.c b/arch/arm/kernel/spectre.c
index e7fea962d632..0dcefc36fb7a 100644
--- a/arch/arm/kernel/spectre.c
+++ b/arch/arm/kernel/spectre.c
@@ -10,7 +10,7 @@ static bool _unprivileged_ebpf_enabled(void)
 #ifdef CONFIG_BPF_SYSCALL
 	return !sysctl_unprivileged_bpf_disabled;
 #else
-	return false
+	return false;
 #endif
 }
 
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-03-08 20:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-08 19:18 [PATCH] ARM: fix compilation error when BPF_SYSCALL is disabled Emmanuel Gil Peyrot
2022-03-08 19:18 ` Emmanuel Gil Peyrot
2022-03-08 20:39 ` Nathan Chancellor
2022-03-08 20:39   ` Nathan Chancellor
2022-03-08 20:53   ` Linus Torvalds
2022-03-08 20:53     ` Linus Torvalds

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.