diff options
author | Sameer Wadgaonkar | 2017-06-30 21:43:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-07-16 08:40:59 +0200 |
commit | ac0aba6720edc7edf5bee42d242ea87a98039e51 (patch) | |
tree | d0c73a7ee0ca0cbe49fdf70521e1ec22bd25e57a /drivers/staging/unisys/visorbus/visorchipset.c | |
parent | staging: unisys: visorbus: visorchannel.c: fixed comment formatting issues (diff) | |
download | kernel-qcow2-linux-ac0aba6720edc7edf5bee42d242ea87a98039e51.tar.gz kernel-qcow2-linux-ac0aba6720edc7edf5bee42d242ea87a98039e51.tar.xz kernel-qcow2-linux-ac0aba6720edc7edf5bee42d242ea87a98039e51.zip |
staging: unisys: visorbus: visorchipset.c: fixed comment formatting issues
Removed comments from the right side of the lines.
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/visorbus/visorchipset.c')
-rw-r--r-- | drivers/staging/unisys/visorbus/visorchipset.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index 22150564b4fb..bf6f79ea4988 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -312,7 +312,8 @@ parser_string_get(struct parser_context *ctx) value_length = i; break; } - if (value_length < 0) /* '\0' was not included in the length */ + /* '\0' was not included in the length */ + if (value_length < 0) value_length = nscan; value = kmalloc(value_length + 1, GFP_KERNEL); if (!value) @@ -1023,7 +1024,8 @@ parahotplug_request_destroy(struct parahotplug_request *req) } static LIST_HEAD(parahotplug_request_list); -static DEFINE_SPINLOCK(parahotplug_request_list_lock); /* lock for above */ +/* lock for above */ +static DEFINE_SPINLOCK(parahotplug_request_list_lock); /* * parahotplug_request_complete() - mark request as complete @@ -1326,8 +1328,8 @@ static int unisys_vmcall(unsigned long tuple, unsigned long param) goto error; return 0; - -error: /* Need to convert from VMCALL error codes to Linux */ +/* Need to convert from VMCALL error codes to Linux */ +error: switch (result) { case VMCALL_RESULT_INVALID_PARAM: return -EINVAL; |