From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754360AbcI0KJl (ORCPT ); Tue, 27 Sep 2016 06:09:41 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:48014 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753854AbcI0KJ1 (ORCPT ); Tue, 27 Sep 2016 06:09:27 -0400 Message-ID: <1474970960.2494.12.camel@pengutronix.de> Subject: Re: [PATCH] drm/imx: hide an unused label From: Philipp Zabel To: Arnd Bergmann Cc: David Airlie , Daniel Vetter , Liu Ying , Ville =?ISO-8859-1?Q?Syrj=E4l=E4?= , Lucas Stach , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Date: Tue, 27 Sep 2016 12:09:20 +0200 In-Reply-To: <20160922095115.2385872-1-arnd@arndb.de> References: <20160922095115.2385872-1-arnd@arndb.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:96de:80ff:fec2:9969 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Fixes: c1ff5a7aa3c3 ("drm/imx: Remove local fbdev emulation Kconfig option") Applied, thank you. regards Philipp