From: Greg Kroah-Hartman Date: Sat, 26 May 2018 09:34:25 +0000 (+0200) Subject: staging: lustre: fix more build errors in errno.c X-Git-Tag: for-linus-20180616~25^2~52 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=7a5abc3d9699c88781ae12cf957a8c49f9bbb494;p=linux-block.git 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 Fixes: 0922c0084b91 ("staging: lustre: remove libcfs_all from ptlrpc") Cc: NeilBrown Signed-off-by: Greg Kroah-Hartman --- 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 +#include +#include #include /*