The patch titled Subject: slub: drop bogus inline for fixup_red_left() has been added to the -mm tree. Its filename is slub-drop-bogus-inline-for-fixup_red_left.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/slub-drop-bogus-inline-for-fixup_red_left.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/slub-drop-bogus-inline-for-fixup_red_left.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Subject: slub: drop bogus inline for fixup_red_left() With m68k-linux-gnu-gcc-4.1: include/linux/slub_def.h:126: warning: `fixup_red_left' declared inline after being called include/linux/slub_def.h:126: warning: previous declaration of `fixup_red_left' was here Commit c146a2b98eb5898e ("mm, kasan: account for object redzone in SLUB's nearest_obj()") made fixup_red_left() global, but forgot to remove the inline keyword. Fixes: c146a2b98eb5898e ("mm, kasan: account for object redzone in SLUB's nearest_obj()") Link: http://lkml.kernel.org/r/1470256262-1586-1-git-send-email-geert@xxxxxxxxxxxxxx Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Cc: Alexander Potapenko <glider@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/slub.c~slub-drop-bogus-inline-for-fixup_red_left mm/slub.c --- a/mm/slub.c~slub-drop-bogus-inline-for-fixup_red_left +++ a/mm/slub.c @@ -124,7 +124,7 @@ static inline int kmem_cache_debug(struc #endif } -inline void *fixup_red_left(struct kmem_cache *s, void *p) +void *fixup_red_left(struct kmem_cache *s, void *p) { if (kmem_cache_debug(s) && s->flags & SLAB_RED_ZONE) p += s->red_left_pad; _ Patches currently in -mm which might be from geert@xxxxxxxxxxxxxx are slub-drop-bogus-inline-for-fixup_red_left.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html