netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rhashtable: add missing import <linux/export.h>
@ 2015-06-06 20:07 Hauke Mehrtens
  2015-06-07  7:10 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Hauke Mehrtens @ 2015-06-06 20:07 UTC (permalink / raw)
  To: tgraf, davem; +Cc: netdev, Hauke Mehrtens

rhashtable uses EXPORT_SYMBOL_GPL() without importing linux/export.h
directly it is only imported indirectly through some other includes.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 lib/rhashtable.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/rhashtable.c b/lib/rhashtable.c
index b28df40..1b70b49 100644
--- a/lib/rhashtable.c
+++ b/lib/rhashtable.c
@@ -25,6 +25,7 @@
 #include <linux/random.h>
 #include <linux/rhashtable.h>
 #include <linux/err.h>
+#include <linux/export.h>
 
 #define HASH_DEFAULT_SIZE	64UL
 #define HASH_MIN_SIZE		4U
-- 
2.1.4

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

* Re: [PATCH] rhashtable: add missing import <linux/export.h>
  2015-06-06 20:07 [PATCH] rhashtable: add missing import <linux/export.h> Hauke Mehrtens
@ 2015-06-07  7:10 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2015-06-07  7:10 UTC (permalink / raw)
  To: hauke; +Cc: tgraf, netdev

From: Hauke Mehrtens <hauke@hauke-m.de>
Date: Sat,  6 Jun 2015 22:07:23 +0200

> rhashtable uses EXPORT_SYMBOL_GPL() without importing linux/export.h
> directly it is only imported indirectly through some other includes.
> 
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Applied, thanks.

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

end of thread, other threads:[~2015-06-07  7:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-06 20:07 [PATCH] rhashtable: add missing import <linux/export.h> Hauke Mehrtens
2015-06-07  7:10 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).