projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d712407
)
mm/memory.c: suppress warning
author
Andrew Morton
<akpm@linux-foundation.org>
Mon, 17 Dec 2012 23:59:24 +0000
(15:59 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:12 +0000
(17:15 -0800)
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 <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/memory.c
b/mm/memory.c
index e6a3b933517e0442c22aa89ab885ac6f2f95ae5b..23f1fdfdfcf13035ebb1e1731378d902de18c076 100644
(file)
--- 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 */