Re: [PATCH] fbcon: mark dummy functions 'inline'
From: Bartlomiej Zolnierkiewicz
Date: Mon Aug 07 2017 - 11:11:23 EST
On Wednesday, August 02, 2017 11:38:07 AM Arnd Bergmann wrote:
> The newly introduced fb_console_init/exit declarations have a
> dummy alternative that is marked 'static' in the header but not
> inline, leading to a warning whenever the header gets included:
> In file included from drivers/video/fbdev/core/fbmem.c:35:0:
> include/linux/fbcon.h:9:13: error: 'fb_console_exit' defined but not used [-Werror=unused-function]
> This adds the intended 'inline'.
> Fixes: 6104c37094e7 ("fbcon: Make fbcon a built-time depency for fbdev")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
Patch queued for 4.14, thanks.
Samsung R&D Institute Poland