From patchwork Sat Sep 17 15:32:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9337245 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 28F606077F for ; Sat, 17 Sep 2016 15:32:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1188B28DDE for ; Sat, 17 Sep 2016 15:32:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 02BD128DE6; Sat, 17 Sep 2016 15:32:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A1F8A28DDE for ; Sat, 17 Sep 2016 15:32:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752512AbcIQPcw (ORCPT ); Sat, 17 Sep 2016 11:32:52 -0400 Received: from mout.web.de ([217.72.192.78]:63001 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752255AbcIQPcv (ORCPT ); Sat, 17 Sep 2016 11:32:51 -0400 Received: from [192.168.1.2] ([78.48.101.40]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0Ljrq1-1b9l3n0imv-00brp8; Sat, 17 Sep 2016 17:32:22 +0200 Subject: [PATCH 20/24] ste_dma40: Rename a jump label in d40_alloc_mask_free() To: dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Dan Williams , Linus Walleij , Vinod Koul References: <566ABCD9.1060404@users.sourceforge.net> <92810066-69b6-94e7-dcec-a28594b1328f@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: Date: Sat, 17 Sep 2016 17:32:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <92810066-69b6-94e7-dcec-a28594b1328f@users.sourceforge.net> X-Provags-ID: V03:K0:Uu0KtFAxaIXkn8D+cGVgyX5RegvhlRkZFRNZ0q5a5Wxj+/3YUYr j+k6Dv1Eb3lotZpqhBrELuVzr7gzpYRghD3aiZhNJSKv/dFEEhjfaM5fZMaZuLYdUwTwo81 2DQF+S6VRWzb2SJJ2UNwQMawD7fljy9qVzcvFn2KOIeEZ1cIEkLQHsOEAYJA475GVubHTut GR1xvcM1W5KAJ/9XgfEyA== X-UI-Out-Filterresults: notjunk:1; V01:K0:SRtjoRgSnPg=:EGD3nXDLeGwAbVbU7ZzHNH MmubJAwS3QpJtJQaY+Hb/oLyxeLRU6WvAAA0ZLWwHuKoohn1aWkoVXs/oSpvoxGK99McYY4kP dbNKzZpSCjbkw/T6EOM17gPX2RHjWXXcToiFr8o5AKajDXR0vL+ad46luY8kazmsMHfM1ePgS lWbNsxXqGLHXFxuKq4645r1jWO1V521GAjy9rveH5t8yTMK8+GnbqmgFpqSz/vBfwg9SYmPXz bxPOmKx7g4OKSmEkH8mToLRbmpOMQdFpCgjrlvSgXH2CL/ZPJtCvtxoTfTfCu6cKl3IlHf/uD GXJQoSGiLtvzy6bpxui2DvgQRKzL7pfbANlbPWphUpkKi3xRNXMtSfzWP5ERiiXb8q4bNRfAM up6srZqrvrJiapvtOJAsiIYOujLub7ggKIyw4zQyEOukeHiQoWyPZYpG3/ptXoPC43oWe4f1s mPN+hXrLb4lti/nGAUsams/tbdsHqulHECBBdrPun3Qz1E1p7H7FiK5QZ/XpqPwATv3i4/NKi N7r2W3O0SAdg7Tc9UjvTpFVdlZb+GbrzcIIz+jA6kIleOLhNWTx7AYNO0L7disJB8rM+FtRBb pSzGoxNNnLQtqs/++ekjkjhty/N1/8LuQENv+bwLQLg0d5eaLbD4OP2ud2OIoieUiKUdrmuTX udtP/At1CW8aMK1SN/+O74pDUZREz+bro0noMjz8t/hcLuT82XApOVf6Supk6TO3S35/X2IVZ IN0pUnFlZZMyn4NBq3+T8F15UYQNv7wCPRxgtZVx6JCXz7Lb4ljQS7uk/i5ryKJbEEuMeYTkc 7ERSU0+ Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Sat, 17 Sep 2016 16:10:41 +0200 Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 917b24a..fbe87a2 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -1829,7 +1829,7 @@ static bool d40_alloc_mask_free(struct d40_phy_res *phy, bool is_src, phy->allocated_dst = D40_ALLOC_FREE; phy->allocated_src = D40_ALLOC_FREE; is_free = true; - goto out; + goto unlock; } /* Logical channel */ @@ -1845,8 +1845,7 @@ static bool d40_alloc_mask_free(struct d40_phy_res *phy, bool is_src, is_free = ((phy->allocated_src | phy->allocated_dst) == D40_ALLOC_FREE); - -out: + unlock: spin_unlock_irqrestore(&phy->lock, flags); return is_free;