mm: add casts to/from gfp_t in gfp_to_alloc_flags()
authorNamhyung Kim <namhyung@gmail.com>
Tue, 26 Oct 2010 21:21:59 +0000 (14:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:09 +0000 (16:52 -0700)
commite6223a3b19421e3a8df1352d21fd0d71093f44ae
treebecc54c4946d7226fcfbe115a864035c448d8884
parent0116651c85e671a693dd2f56e95dd651f746c973
mm: add casts to/from gfp_t in gfp_to_alloc_flags()

This removes following warning from sparse:

 mm/page_alloc.c:1934:9: warning: restricted gfp_t degrades to integer

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c