]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: fix build error when BPF_SYSCALL is disabled
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Tue, 8 Mar 2022 19:18:20 +0000 (20:18 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Mar 2022 20:53:05 +0000 (12:53 -0800)
It was missing a semicolon.

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Fixes: ee86635e0d8b ("ARM: include unprivileged BPF status in Spectre V2 reporting").
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/kernel/spectre.c

index e7fea962d632cca4d90eeca2c762f276e87cbddc..0dcefc36fb7a08af113ef923af1fe9c826da662d 100644 (file)
@@ -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
 }