staging: lustre: fix more build errors in errno.c
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 May 2018 09:34:25 +0000 (11:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 May 2018 09:34:25 +0000 (11:34 +0200)
And we need even more .h files to be included to build this file.  So
add kernel.h and module.h, and hopefully that's enough...

Reported-by: kbuild test robot <lkp@intel.com>
Fixes: 0922c0084b91 ("staging: lustre: remove libcfs_all from ptlrpc")
Cc: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/errno.c

index e44315047c2e5b3021d81e9414909b61a86adee0..b904524fc1c6d085e06b27530012cbd468612fc5 100644 (file)
@@ -27,6 +27,8 @@
  */
 
 #include <linux/errno.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
 #include <lustre_errno.h>
 
 /*