Re: [PATCH] dove: mark 'putc' as inline

From: Andrew Lunn
Date: Mon Sep 27 2021 - 08:40:23 EST


On Mon, Sep 27, 2021 at 11:53:33AM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> This can cause a randconfig warning without the 'inline' flag
> that every other platform uses:
>
> In file included from arch/arm/boot/compressed/misc.c:29:
> arch/arm/mach-dove/include/mach/uncompress.h:14:13: error: 'putc' defined but not used [-Werror=unused-function]
> 14 | static void putc(const char c)
> | ^~~~
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew