lkml.org 
[lkml]   [2016]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 20/24] ste_dma40: Rename a jump label in d40_alloc_mask_free()
    From
    Date
    From: Markus Elfring <elfring@users.sourceforge.net>
    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 <elfring@users.sourceforge.net>
    ---
    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;
    --
    2.10.0
    \
     
     \ /
      Last update: 2016-09-17 17:33    [W:4.021 / U:0.712 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site