lkml.org 
[lkml]   [2016]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] drm/imx: hide an unused label
From
Date
Am Donnerstag, den 22.09.2016, 11:50 +0200 schrieb Arnd Bergmann:
> The imx_drm_bind function causes a warning in linux-next when
> CONFIG_DRM_FBDEV_EMULATION is not set:
>
> drivers/gpu/drm/imx/imx-drm-core.c: In function 'imx_drm_bind':
> drivers/gpu/drm/imx/imx-drm-core.c:441:1: error: label 'err_unbind' defined but not used [-Werror=unused-label]
>
> I don't understand why the warning only showed up now, as the
> code has not been modified recently, but there is an obvious
> fix in adding another #if for the symbol.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: c1ff5a7aa3c3 ("drm/imx: Remove local fbdev emulation Kconfig option")

Applied, thank you.

regards
Philipp

\
 
 \ /
  Last update: 2016-09-27 12:10    [W:0.037 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site