From: Andrew Morton Date: Mon, 17 Dec 2012 23:59:24 +0000 (-0800) Subject: mm/memory.c: suppress warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b3dd20709db2cab0da0ade1f246fd6e6ab1396eb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mm/memory.c: suppress warning gcc-4.4.4 screws this up. mm/memory.c: In function 'do_pmd_numa_page': mm/memory.c:3594: warning: no return statement in function returning non-void Cc: Mel Gorman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/memory.c b/mm/memory.c index e6a3b933517e..23f1fdfdfcf1 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -3590,6 +3590,7 @@ static int do_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long addr, pmd_t *pmdp) { BUG(); + return 0; } #endif /* CONFIG_NUMA_BALANCING */