Commit 2d7d3eb2bad116e0d1b3b3930a923c55f6d0f70e
Committed by
Linus Torvalds
1 parent
264e56d824
Exists in
master
and in
6 other branches
mm/memblock.c: quiet sparse noise
Quiet the following sparse noise in this file: warning: symbol 'memblock_overlaps_region' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers,com> Cc: Yinghai Lu <yinghai@kernel.org> Cc: "H. Peter Anvin" <hpa@linux.intel.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Tomi Valkeinen <tomi.valkeinen@nokia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
mm/memblock.c
... | ... | @@ -58,7 +58,8 @@ |
58 | 58 | return ((base1 < (base2 + size2)) && (base2 < (base1 + size1))); |
59 | 59 | } |
60 | 60 | |
61 | -long __init_memblock memblock_overlaps_region(struct memblock_type *type, phys_addr_t base, phys_addr_t size) | |
61 | +static long __init_memblock memblock_overlaps_region(struct memblock_type *type, | |
62 | + phys_addr_t base, phys_addr_t size) | |
62 | 63 | { |
63 | 64 | unsigned long i; |
64 | 65 |