Re: sparse with 4.10?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 16, 2017 at 02:25:18PM +0200, Jason A. Donenfeld wrote:
> Hey guys,
> 
> Sorry for the delay. I finally produced an extremely minimal test case
> that can reproduce this bug. Please see the attached tarball. Hit
> make, and you'll see the error:
> 
> ./include/linux/mm.h:1766:47: warning: unknown expression (14 0)
> ./include/linux/mm.h:1767:16: warning: call with no type!


Thanks, I can now reproduce this.

It's quite strange.

It's related to the fact that you include mm.h via the '-include' flag.
If you include it with '#include' (as it should be), there is no problem.
Same when trying with the result of the preprocessing.
But all three should have the same effect.

The error message itself has somethng to do with the type 'pmd_t'
but again I don't see anything wrong there and I suppose it's because
of the point above.

I'll need to investigate this a bit more.

-- Luc Van Oostenryck
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux