[staging:staging-testing 754/791] drivers/staging/lustre/lustre/ptlrpc/errno.c:49:3: error: 'ENXIO' undeclared here (not in a function)

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri May 25 19:40:09 UTC 2018


On Sat, May 26, 2018 at 02:04:59AM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
> head:   0badacd779df08fbbc895cf6c488e100b86c1f39
> commit: 0922c0084b91799193059a47bfbd215ffd3a4b50 [754/791] staging: lustre: remove libcfs_all from ptlrpc
> config: ia64-allmodconfig (attached as .config)
> compiler: ia64-linux-gcc (GCC) 8.1.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 0922c0084b91799193059a47bfbd215ffd3a4b50
>         # save the attached .config to linux build tree
>         make.cross ARCH=ia64 
> 
> All error/warnings (new ones prefixed by >>):
> 
>    drivers/staging/lustre/lustre/ptlrpc/errno.c:44:3: error: 'EPERM' undeclared here (not in a function)
>      [EPERM]   = LUSTRE_EPERM,
>       ^~~~~

<snip>

Neil, looks like some .h files still need to be included.  Care to fix
these up?

thanks,

greg k-h


More information about the devel mailing list