lkml.org 
[lkml]   [2016]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 06/17] s390/debug: Rename jump labels in debug_info_copy()
    From
    Date
    From: Markus Elfring <elfring@users.sourceforge.net>
    Date: Thu, 1 Sep 2016 18:32:19 +0200

    Adjust jump labels according to the current Linux coding style convention.

    Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
    ---
    arch/s390/kernel/debug.c | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    diff --git a/arch/s390/kernel/debug.c b/arch/s390/kernel/debug.c
    index c5da41b..1f32578 100644
    --- a/arch/s390/kernel/debug.c
    +++ b/arch/s390/kernel/debug.c
    @@ -377,7 +377,7 @@ debug_info_copy(debug_info_t* in, int mode)
    in->nr_areas, in->buf_size, in->level, mode);
    spin_lock_irqsave(&in->lock, flags);
    if (!rc)
    - goto out;
    + goto unlock;
    /* has something changed in the meantime ? */
    if ((rc->pages_per_area == in->pages_per_area) &&
    (rc->nr_areas == in->nr_areas)) {
    @@ -388,12 +388,12 @@ debug_info_copy(debug_info_t* in, int mode)
    } while (1);

    if (mode == NO_AREAS)
    - goto out;
    + goto unlock;

    for (i = 0; i < in->nr_areas; i++)
    for (j = 0; j < in->pages_per_area; j++)
    memcpy(rc->areas[i][j], in->areas[i][j], PAGE_SIZE);
    -out:
    + unlock:
    spin_unlock_irqrestore(&in->lock, flags);
    return rc;
    }
    --
    2.9.3
    \
     
     \ /
      Last update: 2016-09-17 09:58    [W:4.088 / U:0.220 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site