From: Thomas Casey <tqcasey@gmail.com>
To: akpm@linux-foundation.org
Cc: john.stultz@linaro.org, tglx@linutronix.de, gorcunov@openvz.org,
nicolas.pitre@linaro.org, skinsbursky@virtuozzo.com,
mguzik@redhat.com, mhocko@suse.com, linux-kernel@vger.kernel.org
Subject: [PATCH] kernel: sys: fix out of place EXPORT_SYMBOL call
Date: Tue, 20 Dec 2016 14:39:19 +0000 [thread overview]
Message-ID: <20161220143919.GA2334@loonix.localdomain> (raw)
Fixes two instances of EXPORT_SYMBOL not being called immediately after
the initialization of its argument
Signed-off-by: Thomas Casey <tqcasey@gmail.com>
---
kernel/sys.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/kernel/sys.c b/kernel/sys.c
index 9758892a2d09..8afd3e341f9b 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -110,9 +110,8 @@
*/
int overflowuid = DEFAULT_OVERFLOWUID;
-int overflowgid = DEFAULT_OVERFLOWGID;
-
EXPORT_SYMBOL(overflowuid);
+int overflowgid = DEFAULT_OVERFLOWGID;
EXPORT_SYMBOL(overflowgid);
/*
@@ -121,9 +120,8 @@ EXPORT_SYMBOL(overflowgid);
*/
int fs_overflowuid = DEFAULT_FS_OVERFLOWUID;
-int fs_overflowgid = DEFAULT_FS_OVERFLOWUID;
-
EXPORT_SYMBOL(fs_overflowuid);
+int fs_overflowgid = DEFAULT_FS_OVERFLOWUID;
EXPORT_SYMBOL(fs_overflowgid);
/*
--
2.11.0
next reply other threads:[~2016-12-20 19:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-20 14:39 Thomas Casey [this message]
2016-12-21 6:49 ` Michal Hocko
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=20161220143919.GA2334@loonix.localdomain \
--to=tqcasey@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=gorcunov@openvz.org \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mguzik@redhat.com \
--cc=mhocko@suse.com \
--cc=nicolas.pitre@linaro.org \
--cc=skinsbursky@virtuozzo.com \
--cc=tglx@linutronix.de \
/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®