]> git.baikalelectronics.ru Git - kernel.git/commit
mm: hugetlb.c make functions static, use NULL rather than 0
authorHarvey Harrison <harvey.harrison@gmail.com>
Sun, 19 Oct 2008 03:27:06 +0000 (20:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:52:32 +0000 (08:52 -0700)
commit85415ec88eea4acb393976e6fa0c42228e2e114b
tree32569113d280e8b69c81359246a51173b187ed74
parentbef581e09ac9bfa6e86dabfd929889cbe8e0178a
mm: hugetlb.c make functions static, use NULL rather than 0

mm/hugetlb.c:265:17: warning: symbol 'resv_map_alloc' was not declared. Should it be static?
mm/hugetlb.c:277:6: warning: symbol 'resv_map_release' was not declared. Should it be static?
mm/hugetlb.c:292:9: warning: Using plain integer as NULL pointer
mm/hugetlb.c:1750:5: warning: symbol 'unmap_ref_private' was not declared. Should it be static?

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c