lkml.org 
[lkml]   [2016]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 03/11] virtio_console: Rename a jump label in init()
    From
    Date
    From: Markus Elfring <elfring@users.sourceforge.net>
    Date: Wed, 14 Sep 2016 14:10:24 +0200

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

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

    diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
    index bf0ad57..004314e 100644
    --- a/drivers/char/virtio_console.c
    +++ b/drivers/char/virtio_console.c
    @@ -2309,7 +2309,7 @@ static int __init init(void)
    err = register_virtio_driver(&virtio_console);
    if (err < 0) {
    pr_err("Error %d registering virtio driver\n", err);
    - goto free;
    + goto remove;
    }
    err = register_virtio_driver(&virtio_rproc_serial);
    if (err < 0) {
    @@ -2318,9 +2318,9 @@ static int __init init(void)
    goto unregister;
    }
    return 0;
    -unregister:
    + unregister:
    unregister_virtio_driver(&virtio_console);
    -free:
    + remove:
    debugfs_remove_recursive(pdrvdata.debugfs_dir);
    class_destroy(pdrvdata.class);
    return err;
    --
    2.10.0
    \
     
     \ /
      Last update: 2016-09-17 09:59    [W:4.066 / U:0.272 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site