Skip to contentSkip to conversation

seccomp: add missing semicolon

PATCH In review Arnd Bergmann 3 participants 3 messages Aug 23, 2017 Secure computing

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 seccomp: add missing semicolon

We get a compile error without it, at least in some configurations:

kernel/seccomp.c:1221:1: error: expected ',' or ';' at end of input

Fixes 8e5f1ad116df ("seccomp: Sysctl to display available actions")
---
 kernel/seccomp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/seccomp.c +1 -1
index c24579dfa7a1..3eeb2257bd62 100644
@@ -1218,6 +1218,6 @@ static int __init seccomp_sysctl_init(void)
 	return 0;
 }
 
-device_initcall(seccomp_sysctl_init)
+device_initcall(seccomp_sysctl_init);
 
 #endif /* CONFIG_SYSCTL */
Signature · 1 line
2.9.0
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Arnd Bergmann

We get a compile error without it, at least in some configurations:

kernel/seccomp.c:1221:1: error: expected ',' or ';' at end of input

Fixes 8e5f1ad116df ("seccomp: Sysctl to display available actions")

Oh, how completely strange. I never saw this in my build testing. If you have the .config that tripped this, please let me know.

James, can you take this for -next please?

Thanks!

-Kees

Quoted 19 lines
---
 kernel/seccomp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/seccomp.c +1 -2
index c24579dfa7a1..3eeb2257bd62 100644
@@ -1218,6 +1218,6 @@ static int __init seccomp_sysctl_init(void)
        return 0;
 }
 
-device_initcall(seccomp_sysctl_init)
+device_initcall(seccomp_sysctl_init);
 
 #endif /* CONFIG_SYSCTL */
--

2.9.0

Signature · 2 lines
Kees Cook
Pixel Security
#2 lore raw
Quoted 10 lines · Kees Cook
Quoted 6 lines · Arnd Bergmann

We get a compile error without it, at least in some configurations:

kernel/seccomp.c:1221:1: error: expected ',' or ';' at end of input

Fixes 8e5f1ad116df ("seccomp: Sysctl to display available actions")

Oh, how completely strange. I never saw this in my build testing. If you have the .config that tripped this, please let me know.

Same here...

Thanks for the fix, Arnd!

Tyler

Quoted 31 lines

James, can you take this for -next please?

Thanks!

-Kees

Quoted 19 lines
---
 kernel/seccomp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/seccomp.c +1 -2
index c24579dfa7a1..3eeb2257bd62 100644
@@ -1218,6 +1218,6 @@ static int __init seccomp_sysctl_init(void)
        return 0;
 }
 
-device_initcall(seccomp_sysctl_init)
+device_initcall(seccomp_sysctl_init);
 
 #endif /* CONFIG_SYSCTL */
--

2.9.0