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: 9337257 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 536826077F for ; Sat, 17 Sep 2016 15:35:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4476B28DE6 for ; Sat, 17 Sep 2016 15:35:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37A9B28DE8; Sat, 17 Sep 2016 15:35:03 +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 D133428DE6 for ; Sat, 17 Sep 2016 15:35:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752512AbcIQPfC (ORCPT ); Sat, 17 Sep 2016 11:35:02 -0400 Received: from mout.web.de ([212.227.17.11]:55714 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752169AbcIQPfB (ORCPT ); Sat, 17 Sep 2016 11:35:01 -0400 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> Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall 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 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: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--;