浏览代码

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>
Greg Kroah-Hartman 7 年之前
父节点
当前提交
7a5abc3d96
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/staging/lustre/lustre/ptlrpc/errno.c

+ 2 - 0
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>
 
 /*