rhashtable: using ERR_PTR requires linux/err.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 9 Feb 2015 03:04:03 +0000 (14:04 +1100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Feb 2015 05:52:24 +0000 (21:52 -0800)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c

index e96fc00..9cc4c4a 100644 (file)
@@ -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