Re: [PATCH] slub: Drop bogus inline for fixup_red_left()
From: David Rientjes
Date: Wed Aug 03 2016 - 19:47:44 EST
On Wed, 3 Aug 2016, Geert Uytterhoeven wrote:
> 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()")
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Acked-by: David Rientjes <rientjes@xxxxxxxxxx>