From: Ben Hutchings <ben@decadent.org.uk>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-kernel@vger.kernel.org, stable-rt@vger.kernel.org
Subject: [PATCH RT 2/2] work-simple: Add missing #include <linux/export.h>
Date: Fri, 30 Sep 2016 10:05:05 +0100 [thread overview]
Message-ID: <20160930090504.GX10601@decadent.org.uk> (raw)
In-Reply-To: <20160929165858.GV10601@decadent.org.uk>
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
work-simple.c uses EXPORT_SYMBOL_GPL(), defined in <linux/export.h>.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable-rt@vger.kernel.org # 3.2
---
I'm not sure there's any need for these exports so the correct fix
might be to remove them.
Ben.
kernel/work-simple.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/work-simple.c b/kernel/work-simple.c
index c996f755dba6..e57a0522573f 100644
--- a/kernel/work-simple.c
+++ b/kernel/work-simple.c
@@ -10,6 +10,7 @@
#include <linux/kthread.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
+#include <linux/export.h>
#define SWORK_EVENT_PENDING (1 << 0)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
prev parent reply other threads:[~2016-09-30 9:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-29 16:58 [PATCH RT 0/2] Warning fixes for 3.2-rt (and other branches) Ben Hutchings
2016-09-29 17:00 ` [PATCH RT 1/2] genirq: Fix pointer cast warning for randomness on 32-bit architectures Ben Hutchings
2016-09-30 9:05 ` Ben Hutchings [this message]
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=20160930090504.GX10601@decadent.org.uk \
--to=ben@decadent.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=stable-rt@vger.kernel.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®