소스 검색

staging: lustre: fix build error in errno.c

Turns out we need some more .h files to build properly on all arches.
Specifically errno.h for this file.

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 년 전
부모
커밋
3c24e170d4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      drivers/staging/lustre/lustre/ptlrpc/errno.c

+ 1 - 0
drivers/staging/lustre/lustre/ptlrpc/errno.c

@@ -26,6 +26,7 @@
  * Copyright (c) 2013, Intel Corporation.
  */
 
+#include <linux/errno.h>
 #include <lustre_errno.h>
 
 /*