Re: sparse with 4.10?

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

 



On Tue, Apr 4, 2017 at 4:14 PM, Jason A. Donenfeld <Jason@xxxxxxxxx> wrote:
> Hey,
>
> Compiling modules against 4.10 and checking with the latest sparse git
> master yields these warnings for each and every file:
>
> ./include/linux/mm.h:1713:47: warning: unknown expression (14 0)
> ./include/linux/mm.h:1714:16: warning: call with no type!
>
> That corresponds to this function:
>
> static struct page *pmd_to_page(pmd_t *pmd)
> {
>        unsigned long mask = ~(PTRS_PER_PMD * sizeof(pmd_t) - 1);
>        return virt_to_page((void *)((unsigned long) pmd & mask));
> }
>
> Something broken with the parsing?

+ CC: mailing list

I can't reproduce this on arch/x86, neither with defconfig, nor with
allyesconfig.

Lastest sparse git master is fbbfc7309, right?
Can you send your .config and/or tell a bit more about anything
unusual you could have?

-- 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