]> bbs.cooldavid.org Git - net-next-2.6.git/commit
slub: Fix signedness warnings
authorNamhyung Kim <namhyung@gmail.com>
Wed, 29 Sep 2010 12:02:13 +0000 (21:02 +0900)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Oct 2010 07:47:52 +0000 (10:47 +0300)
commita5dd5c117cbf620378d693963ffc42239297fac4
tree12dc4b1bc7da97acebb04afabd07b20cc6642a3b
parent62e346a83026a28526fc9799337bcc6154819f25
slub: Fix signedness warnings

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

Acked-by: Christoph Lameter <cl@linux.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c