Sparse errors

Greg KH greg at kroah.com
Thu Mar 28 14:37:46 EDT 2019


On Fri, Mar 29, 2019 at 12:04:17AM +0530, Bharath Vedartham wrote:
> Hey all,
> 
> When I run sparse, I get sparse errors. Sparse says "too many errors".
> For example when I run: make C=2 fs/ext4/
> This is the error messages I get for one of the files. 
>   CHECK   fs/ext4/ioctl.c
>   ./arch/x86/include/asm/nospec-branch.h:146:38: warning: Unknown escape
>   '@'
>   ./include/linux/compiler.h:190:8: error: attribute '__gnu_inline__':
>   unknown attribute

<snip>

Upgrade your version of sparse, use the version on git.kernel.org and
you should be fine.

good luck!

greg k-h



More information about the Kernelnewbies mailing list