From patchwork Wed Apr 24 14:25:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 16382 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7820623918 for ; Wed, 24 Apr 2013 14:26:41 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id b41sf3101766yha.1 for ; Wed, 24 Apr 2013 07:25:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-beenthere:x-received:received-spf:x-received :x-forwarded-to:x-forwarded-for:delivered-to:x-received:received-spf :from:to:cc:subject:date:message-id:x-mailer:mime-version :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=L8HZiZ48gpWFwa8s++q00X6CnN2FW2E9pD/YOOZ5GEI=; b=e8dZ2pvzXWdRFJsg0fGmSJevqEiznWTrQH1fJKB87ve3cb97/caQw36STjLRpAjmKl TcY1IVUqRKlygLJ8zMP/UPUDKkxg004FM0S/tN4rqrYuonXhw8bwkBGqCwf6puPsgLUE as+LmIDw6X0EiBKFzEI1R+BIw2fU0GukcuVLA5r9PpeveIY1dniQuh+9ERdwzNpuJP+1 kLFxP7gIDdwyIfFzsKiuLIVi70xhf/k/EmV8Cwpv1kWGFny7IeLGxZBoJvHA/jkItpl/ aSrvK3xa/8xO/mL9kiOsEMSzF19ffZGKN1uuGSzHeoRbgmHXpa7KwKWj1nQ5Hx/31Tar iYuA== X-Received: by 10.58.172.228 with SMTP id bf4mr12746330vec.9.1366813549910; Wed, 24 Apr 2013 07:25:49 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.87.68 with SMTP id v4ls887954qez.7.gmail; Wed, 24 Apr 2013 07:25:49 -0700 (PDT) X-Received: by 10.58.12.225 with SMTP id b1mr25390697vec.20.1366813549775; Wed, 24 Apr 2013 07:25:49 -0700 (PDT) Received: from mail-vb0-x233.google.com (mail-vb0-x233.google.com [2607:f8b0:400c:c02::233]) by mx.google.com with ESMTPS id sa4si1333594vdc.23.2013.04.24.07.25.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Apr 2013 07:25:49 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::233 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::233; Received: by mail-vb0-f51.google.com with SMTP id x19so1685638vbf.38 for ; Wed, 24 Apr 2013 07:25:49 -0700 (PDT) X-Received: by 10.220.189.9 with SMTP id dc9mr11830602vcb.8.1366813549356; Wed, 24 Apr 2013 07:25:49 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp176904veb; Wed, 24 Apr 2013 07:25:48 -0700 (PDT) X-Received: by 10.194.235.196 with SMTP id uo4mr68995752wjc.30.1366813548201; Wed, 24 Apr 2013 07:25:48 -0700 (PDT) Received: from eu1sys200aog108.obsmtp.com (eu1sys200aog108.obsmtp.com [207.126.144.125]) by mx.google.com with SMTP id u3si4398170eeg.45.2013.04.24.07.25.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 24 Apr 2013 07:25:47 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.125 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.125; Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob108.postini.com ([207.126.147.11]) with SMTP ID DSNKUXfrZbLrhnrytu+KbK7YY6YIaQhZpW0s@postini.com; Wed, 24 Apr 2013 14:25:47 UTC Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 6C496342; Wed, 24 Apr 2013 14:25:38 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 55B5051FD; Wed, 24 Apr 2013 14:25:32 +0000 (GMT) Received: from exdcvycastm004.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm004", Issuer "exdcvycastm004" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id 027C0A8081; Wed, 24 Apr 2013 16:25:32 +0200 (CEST) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.2) with Microsoft SMTP Server (TLS) id 8.3.279.5; Wed, 24 Apr 2013 16:25:37 +0200 From: Linus Walleij To: , Cc: Stephen Warren , Anmar Oueja , Laurent Meunier , Linus Walleij Subject: [PATCH] pinctrl/pinconfig: fix misplaced goto Date: Wed, 24 Apr 2013 16:25:34 +0200 Message-ID: <1366813534-2460-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQk4Za02sUniPuzJYLIArWvotRqLkE17x5iYsL7Tp4G8szQfxuccVpUEF5+jGQfUhIHffhzO X-Original-Sender: linus.walleij@stericsson.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::233 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Laurent Meunier This update contains a basic fix that went unseen through test and review. Signed-off-by: Laurent Meunier Reviewed-by: Patrice Chotard Signed-off-by: Linus Walleij --- drivers/pinctrl/pinconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c index 3578667..c67c37e 100644 --- a/drivers/pinctrl/pinconf.c +++ b/drivers/pinctrl/pinconf.c @@ -771,8 +771,8 @@ static int pinconf_dbg_config_write(struct file *file, } if (!found) { - goto exit; count = -EINVAL; + goto exit; } if (pctldev)