Commit ac0aba67 authored by Sameer Wadgaonkar's avatar Sameer Wadgaonkar Committed by Greg Kroah-Hartman

staging: unisys: visorbus: visorchipset.c: fixed comment formatting issues

Removed comments from the right side of the lines.
Signed-off-by: default avatarSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0496bedf
...@@ -312,7 +312,8 @@ parser_string_get(struct parser_context *ctx) ...@@ -312,7 +312,8 @@ parser_string_get(struct parser_context *ctx)
value_length = i; value_length = i;
break; 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_length = nscan;
value = kmalloc(value_length + 1, GFP_KERNEL); value = kmalloc(value_length + 1, GFP_KERNEL);
if (!value) if (!value)
...@@ -1023,7 +1024,8 @@ parahotplug_request_destroy(struct parahotplug_request *req) ...@@ -1023,7 +1024,8 @@ parahotplug_request_destroy(struct parahotplug_request *req)
} }
static LIST_HEAD(parahotplug_request_list); 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 * parahotplug_request_complete() - mark request as complete
...@@ -1326,8 +1328,8 @@ static int unisys_vmcall(unsigned long tuple, unsigned long param) ...@@ -1326,8 +1328,8 @@ static int unisys_vmcall(unsigned long tuple, unsigned long param)
goto error; goto error;
return 0; return 0;
/* Need to convert from VMCALL error codes to Linux */
error: /* Need to convert from VMCALL error codes to Linux */ error:
switch (result) { switch (result) {
case VMCALL_RESULT_INVALID_PARAM: case VMCALL_RESULT_INVALID_PARAM:
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment