mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] seccomp: add missing semicolon
@ 2017-08-23 13:43 Arnd Bergmann
  2017-08-23 16:20 ` Kees Cook
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2017-08-23 13:43 UTC (permalink / raw)
  To: Kees Cook
  Cc: Arnd Bergmann, Andy Lutomirski, Will Drewry, Tyler Hicks, linux-kernel

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")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 kernel/seccomp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/seccomp.c b/kernel/seccomp.c
index c24579dfa7a1..3eeb2257bd62 100644
--- a/kernel/seccomp.c
+++ b/kernel/seccomp.c
@@ -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

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

end of thread, other threads:[~2017-08-23 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23 13:43 [PATCH] seccomp: add missing semicolon Arnd Bergmann
2017-08-23 16:20 ` Kees Cook
2017-08-23 16:38   ` Tyler Hicks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®