summaryrefslogtreecommitdiff
path: root/lib/rhashtable.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2015-02-09 14:04:03 +1100
committerDavid S. Miller <davem@davemloft.net>2015-02-08 21:52:24 -0800
commit61d7b097738c9e37f7d5dcb1adf54a54d34444f7 (patch)
treeea32ba8957cad59dd2f5789b5e2e40ceef894b4a /lib/rhashtable.c
parentdd83829ed9da6262487252851ca0aa67600d7d56 (diff)
downloadlwn-61d7b097738c9e37f7d5dcb1adf54a54d34444f7.tar.gz
lwn-61d7b097738c9e37f7d5dcb1adf54a54d34444f7.zip
rhashtable: using ERR_PTR requires linux/err.h
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/rhashtable.c')
-rw-r--r--lib/rhashtable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rhashtable.c b/lib/rhashtable.c
index e96fc00208bc..9cc4c4a90d00 100644
--- a/lib/rhashtable.c
+++ b/lib/rhashtable.c
@@ -23,6 +23,7 @@
#include <linux/jhash.h>
#include <linux/random.h>
#include <linux/rhashtable.h>
+#include <linux/err.h>
#define HASH_DEFAULT_SIZE 64UL
#define HASH_MIN_SIZE 4UL