Re: [PATCH -mm] x86_64: kill 19000+ sparse warnings

From: Andi Kleen
Date: Thu Apr 26 2007 - 05:27:07 EST


On Thursday 26 April 2007 07:45:09 Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> Eliminate 19439 (!!) sparse warnings like:
> include/linux/mm.h:321:22: warning: constant 0xffff810000000000 is so big it is unsigned long

Sparse is just wrong here. The C standard does make it unsigned long long
automatically

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/