lkml.org 
[lkml]   [2022]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ARM: fix compilation error when BPF_SYSCALL is disabled
On Tue, Mar 08, 2022 at 08:18:20PM +0100, Emmanuel Gil Peyrot wrote:
> It was missing a semicolon.
>
> Fixes build error introduced in
> 25875aa71dfefd1959f07e626c4d285b88b27ac2.
>
> Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

Our CI just went red from this as well:

https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/1953090927
https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/1953124502
https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/1953090534
https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/1953086304
https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/1953050829

Reviewed-by: Nathan Chancellor <nathan@kernel.org>

Linus, would it be possible for you apply this directly?

> ---
> 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
>
>

\
 
 \ /
  Last update: 2022-03-08 21:39    [W:0.041 / U:3.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site