summaryrefslogtreecommitdiff
path: root/lib/rhashtable.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2015-02-09 06:04:03 +0300
committerDavid S. Miller <davem@davemloft.net>2015-02-09 08:52:24 +0300
commit61d7b097738c9e37f7d5dcb1adf54a54d34444f7 (patch)
treeea32ba8957cad59dd2f5789b5e2e40ceef894b4a /lib/rhashtable.c
parentdd83829ed9da6262487252851ca0aa67600d7d56 (diff)
downloadlinux-61d7b097738c9e37f7d5dcb1adf54a54d34444f7.tar.xz
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