aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/node.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2011-05-25 00:11:27 +0000
committerLinus Torvalds <[email protected]>2011-05-25 15:39:07 +0000
commitbb005a59e08733bb416126dc184f73120fc6366b (patch)
treef02e152c9f1af2c979b11ff4b3fcc7820b5644f5 /drivers/base/node.c
parentmm: nommu: fix a potential memory leak in do_mmap_private() (diff)
downloadkernel-bb005a59e08733bb416126dc184f73120fc6366b.tar.gz
kernel-bb005a59e08733bb416126dc184f73120fc6366b.zip
mm: nommu: fix a compile warning in do_mmap_pgoff()
Because 'ret' is declared as int, not unsigned long, no need to cast the error contants into unsigned long. If you compile this code on a 64-bit machine somehow, you'll see following warning: CC mm/nommu.o mm/nommu.c: In function `do_mmap_pgoff': mm/nommu.c:1411: warning: overflow in implicit constant conversion Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Greg Ungerer <[email protected]> Cc: David Howells <[email protected]> Cc: Paul Mundt <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/base/node.c')
0 files changed, 0 insertions, 0 deletions