diff options
author | Erik Arfvidson | 2016-02-08 16:41:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-02-12 04:37:15 +0100 |
commit | 0e7bf2f4494eb5ad6411961ec1f4bd5e2c581a6f (patch) | |
tree | b9b08ad3d2f8dabab89742955b4ceebd04771402 /drivers/staging/unisys | |
parent | staging: unisys: fix blank lines in visorchipset.c (diff) | |
download | kernel-qcow2-linux-0e7bf2f4494eb5ad6411961ec1f4bd5e2c581a6f.tar.gz kernel-qcow2-linux-0e7bf2f4494eb5ad6411961ec1f4bd5e2c581a6f.tar.xz kernel-qcow2-linux-0e7bf2f4494eb5ad6411961ec1f4bd5e2c581a6f.zip |
staging: unisys: fix spaces after cast visorchipset.c
This patch fixes checkpatch's no space is necessary after a cast
Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r-- | drivers/staging/unisys/visorbus/visorchipset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index 8d672c721ac2..6ad03a580a12 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -397,7 +397,7 @@ parser_init_byte_stream(u64 addr, u32 bytes, bool local, bool *retry) rc = NULL; goto cleanup; } - p = __va((unsigned long) (addr)); + p = __va((unsigned long)(addr)); memcpy(ctx->data, p, bytes); } else { void *mapping; @@ -525,7 +525,7 @@ parser_string_get(struct parser_context *ctx) return NULL; if (value_length > 0) memcpy(value, pscan, value_length); - ((u8 *) (value))[value_length] = '\0'; + ((u8 *)(value))[value_length] = '\0'; return value; } @@ -815,7 +815,7 @@ controlvm_init_response(struct controlvm_message *msg, msg->hdr.payload_max_bytes = 0; if (response < 0) { msg->hdr.flags.failed = 1; - msg->hdr.completion_status = (u32) (-response); + msg->hdr.completion_status = (u32)(-response); } } |