From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753178AbbCJSCb (ORCPT ); Tue, 10 Mar 2015 14:02:31 -0400 Received: from www.osadl.org ([62.245.132.105]:49150 "EHLO www.osadl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750976AbbCJSC3 (ORCPT ); Tue, 10 Mar 2015 14:02:29 -0400 From: Nicholas Mc Guire To: Greg Kroah-Hartman Cc: Jiri Slaby , Uwe Kleine-K?nig , Janusz Uzycki , linux-serial@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Nicholas Mc Guire Subject: [PATCH] serial: mxs-auart: fix build failure due to broken goto statement Date: Tue, 10 Mar 2015 13:57:57 -0400 Message-Id: <1426010277-5910-1-git-send-email-hofrat@osadl.org> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix mxs-auart build failure. got -> goto and wrong jump target. Signed-off-by: Nicholas Mc Guire --- Seems this was introduced in 343fda95481a ("serial: mxs-auart: properly handle mctrl_gpio failing") This was only compile tested for mxs_defconfig Patch is against 4.0-rc3 (localversion-next is -next-20150310) drivers/tty/serial/mxs-auart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 9abdccf..a17abca 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c @@ -1279,7 +1279,7 @@ static int mxs_auart_probe(struct platform_device *pdev) ret = mxs_auart_init_gpios(s, &pdev->dev); if (ret) { dev_err(&pdev->dev, "Failed to initialize GPIOs.\n"); - got out_free_irq; + goto out_free_gpio_irq; } /* -- 1.7.10.4