Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1493971
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH RT 2/2] work-simple: Add missing #include <linux/export.h> |
| Date | 2016-09-30 11:10 +0200 |
| Message-ID | <sn1Zn-8fp-5@gated-at.bofh.it> (permalink) |
| References | <smMQF-6Co-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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)
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH RT 0/2] Warning fixes for 3.2-rt (and other branches) Ben Hutchings <ben@decadent.org.uk> - 2016-09-29 19:00 +0200 [PATCH RT 1/2] genirq: Fix pointer cast warning for randomness on 32-bit architectures Ben Hutchings <ben@decadent.org.uk> - 2016-09-29 19:10 +0200 [PATCH RT 2/2] work-simple: Add missing #include <linux/export.h> Ben Hutchings <ben@decadent.org.uk> - 2016-09-30 11:10 +0200
csiph-web