Re: [PATCH 1/3] slub: Fix signedness warnings
From: David Rientjes
Date: Wed Sep 29 2010 - 16:30:23 EST
On Wed, 29 Sep 2010, Namhyung Kim wrote:
> The bit-ops routines require its arg to be a pointer to unsigned long.
> This leads sparse to complain about different signedness as follows:
>
> mm/slub.c:2425:49: warning: incorrect type in argument 2 (different signedness)
> mm/slub.c:2425:49: expected unsigned long volatile *addr
> mm/slub.c:2425:49: got long *map
>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxx>
Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
--
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/