mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Kees Cook <keescook@chromium.org>
Cc: Arnd Bergmann <arnd@arndb.de>,
	Andy Lutomirski <luto@amacapital.net>,
	Will Drewry <wad@chromium.org>,
	Tyler Hicks <tyhicks@canonical.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] seccomp: add missing semicolon
Date: Wed, 23 Aug 2017 15:43:33 +0200	[thread overview]
Message-ID: <20170823134406.1023727-1-arnd@arndb.de> (raw)

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

             reply	other threads:[~2017-08-23 13:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-23 13:43 Arnd Bergmann [this message]
2017-08-23 16:20 ` Kees Cook
2017-08-23 16:38   ` Tyler Hicks

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170823134406.1023727-1-arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=tyhicks@canonical.com \
    --cc=wad@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®