From patchwork Sat Sep 17 15:34:26 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: 9337265 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 5D2096077F for ; Sat, 17 Sep 2016 15:36:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4EFDD271BC for ; Sat, 17 Sep 2016 15:36:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 43B0528E51; Sat, 17 Sep 2016 15:36:19 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E7EC6271BC for ; Sat, 17 Sep 2016 15:36:18 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1blHdu-0003oG-Vh; Sat, 17 Sep 2016 15:35:02 +0000 Received: from mout.web.de ([212.227.17.11]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1blHdp-0003bw-Cc for linux-arm-kernel@lists.infradead.org; Sat, 17 Sep 2016 15:34:58 +0000 Received: from [192.168.1.2] ([78.48.101.40]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0M2dbt-1atBZr06Zp-00sL4E; Sat, 17 Sep 2016 17:34:30 +0200 Subject: [PATCH 22/24] ste_dma40: Rename a jump label in dma_tasklet() 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> From: SF Markus Elfring Message-ID: <85371665-dd15-287b-d459-1f54fcfd525b@users.sourceforge.net> Date: Sat, 17 Sep 2016 17:34:26 +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:Gs5FbgGySPuK2AUzfuHBp6Kp226n3mIoZDmGHCXS8jixWMwungw 6QqAwgAQsbA3MF0+5zO0g6/zz2ThszZ0hn/wF4TIG3Be0cuEXD4wwP5QwgRfW8voha8r93T P0u3NVpVyXASqixWzXKgHefs0x5RZ9pBuovk3VcCWIQBqJFhTz4o+IaJe7W6JITQ4ej4ZHK ZNoxEOVQAwHNGX/RdaAyg== X-UI-Out-Filterresults: notjunk:1; V01:K0:8FBR5f/KAJs=:R+wE+s6o9KogKYU7nxm8Vh 70hapyzUgF/A1F7ANQhKbcpNpQXPSxQCzxN1NgbOCibaOqMBZPJct/F4Syl22Huh91BqW/eLE XVu18b3uzREC4WtCQcu4+wJwIBGll2cdDwkrw8+WBoSsdCAxsY9SUh9kmOZ3z/1UfpiXTn2Bz hhWRHDKy5fWVgHvvFwAAI9qsUMc2XUBy/TniqEH1qNE+Lj1jjHPEHQ3ZJzU2NJFURCnPMJ5SB yOcOZ4b7qKNpQchC74Op7YPDwd+sY9Lo0RELFsAnKCVKa+foYuTKQom+Ec1MDaizSy57UzW5C F+R6oNeNjQ3AlLxwoGSE5qlz8R0WcG+IRC49szmty4f9sJTtg60eYPbwbhRIto++iLjG5V3yD NcRg94AVhzjdBLJLjAXsPm4kHGzTFGLN/iCQXc+8Hy4l3Cdjnx5fAbnE+y/gxv5pvN9i9IhpK kYF7kXQaxL2qnIEjrhz1+h4brvRlbBI82q4hoXIpUtPddCOAhSogXvfuFnj558CiukLvkVjoB F00qNB5N2+KT8plIGjyYntlgl847/5rpNAkriOJb2qxu0drincedWmmvXZc3w5HmJ9tIp4B1D bGpQ1E2FTB90rB98eSSWfibv0mR9gzEuLI6lEAOzGABGIZhEf1t/WhkyoMG733Abog1CJQdmp 9OTBnrfIKM3zhZhszE8/Vc6AEHNIGs/0+ljV5+9+1SiJxpHTESnJJ6oEnR/fdMlwurxxse0po EnXz0Tv9fQ2vQQvJ52WXhV65/+UVjJrs3jAR2kxw4ZbLcA653hFQSt5aGXJRduIpDAJbcXyKy ZmHGn3N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160917_083457_925973_711FFFD4 X-CRM114-Status: UNSURE ( 9.35 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Julia Lawall , kernel-janitors@vger.kernel.org, LKML Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Sat, 17 Sep 2016 16:23:43 +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 4a2f39b..0082ae0 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -1606,7 +1606,7 @@ static void dma_tasklet(unsigned long data) /* Check if we have reached here for cyclic job */ d40d = d40_first_active_get(d40c); if (d40d == NULL || !d40d->cyclic) - goto err; + goto check_pending_tx; } if (!d40d->cyclic) @@ -1648,8 +1648,7 @@ static void dma_tasklet(unsigned long data) dmaengine_desc_callback_invoke(&cb, NULL); return; - -err: + check_pending_tx: /* Rescue manouver if receiving double interrupts */ if (d40c->pending_tx > 0) d40c->pending_tx--;