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

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] ARM: fix compilation error when BPF_SYSCALL is disabled
  2022-03-08 19:18 ` Emmanuel Gil Peyrot
@ 2022-03-08 20:39   ` Nathan Chancellor
  -1 siblings, 0 replies; 6+ messages in thread
From: Nathan Chancellor @ 2022-03-08 20:39 UTC (permalink / raw)
  To: Emmanuel Gil Peyrot, Linus Torvalds
  Cc: Russell King, Catalin Marinas, linux-arm-kernel, linux-kernel

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

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

* Re: [PATCH] ARM: fix compilation error when BPF_SYSCALL is disabled
@ 2022-03-08 20:39   ` Nathan Chancellor
  0 siblings, 0 replies; 6+ messages in thread
From: Nathan Chancellor @ 2022-03-08 20:39 UTC (permalink / raw)
  To: Emmanuel Gil Peyrot, Linus Torvalds
  Cc: Russell King, Catalin Marinas, linux-arm-kernel, linux-kernel

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] ARM: fix compilation error when BPF_SYSCALL is disabled
  2022-03-08 20:39   ` Nathan Chancellor
@ 2022-03-08 20:53     ` Linus Torvalds
  -1 siblings, 0 replies; 6+ messages in thread
From: Linus Torvalds @ 2022-03-08 20:53 UTC (permalink / raw)
  To: Nathan Chancellor
  Cc: Emmanuel Gil Peyrot, Russell King, Catalin Marinas, Linux ARM,
	Linux Kernel Mailing List

On Tue, Mar 8, 2022 at 12:39 PM Nathan Chancellor <nathan@kernel.org> wrote:
>
> Linus, would it be possible for you apply this directly?

Done.

              Linus

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

* Re: [PATCH] ARM: fix compilation error when BPF_SYSCALL is disabled
@ 2022-03-08 20:53     ` Linus Torvalds
  0 siblings, 0 replies; 6+ messages in thread
From: Linus Torvalds @ 2022-03-08 20:53 UTC (permalink / raw)
  To: Nathan Chancellor
  Cc: Emmanuel Gil Peyrot, Russell King, Catalin Marinas, Linux ARM,
	Linux Kernel Mailing List

On Tue, Mar 8, 2022 at 12:39 PM Nathan Chancellor <nathan@kernel.org> wrote:
>
> Linus, would it be possible for you apply this directly?

Done.

              Linus

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[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.