Sparse errors

Bharath Vedartham linux.bhar at gmail.com
Thu Mar 28 15:23:09 EDT 2019


On Thu, Mar 28, 2019 at 07:37:46PM +0100, Greg KH wrote:
> 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
Just did that and it worked! Thanks!



More information about the Kernelnewbies mailing list