summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-26 11:34:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-26 11:34:25 +0200
commit7a5abc3d9699c88781ae12cf957a8c49f9bbb494 (patch)
treecea9b03eadc6a9fd28053186e8515e3e2b91a7da /drivers/staging/lustre
parent3c24e170d49d18f67263d0db2ee8126787208b0c (diff)
staging: lustre: fix more build errors in errno.c
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>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r--drivers/staging/lustre/lustre/ptlrpc/errno.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lustre/ptlrpc/errno.c b/drivers/staging/lustre/lustre/ptlrpc/errno.c
index e44315047c2e..b904524fc1c6 100644
--- a/drivers/staging/lustre/lustre/ptlrpc/errno.c
+++ b/drivers/staging/lustre/lustre/ptlrpc/errno.c
@@ -27,6 +27,8 @@
*/
#include <linux/errno.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
#include <lustre_errno.h>
/*