diff mbox

rhashtable: add missing import <linux/export.h>

Message ID 1433621243-30976-1-git-send-email-hauke@hauke-m.de
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Hauke Mehrtens June 6, 2015, 8:07 p.m. UTC
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(+)

Comments

David Miller June 7, 2015, 7:10 a.m. UTC | #1
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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