summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorErik Arfvidson2016-02-08 16:41:45 +0100
committerGreg Kroah-Hartman2016-02-12 04:37:15 +0100
commit8c395e740bbbf6c29048a2fdcf33ab9ab533af09 (patch)
treeda8feb037c51bfe6066aafeda21cf4eb8f1e17b1 /drivers/staging/unisys
parentstaging: unisys: fix comments in visorchipset (diff)
downloadkernel-qcow2-linux-8c395e740bbbf6c29048a2fdcf33ab9ab533af09.tar.gz
kernel-qcow2-linux-8c395e740bbbf6c29048a2fdcf33ab9ab533af09.tar.xz
kernel-qcow2-linux-8c395e740bbbf6c29048a2fdcf33ab9ab533af09.zip
staging: unisys: fix spacing in visorchipset.c
This patch fixes the following checkpatch warning: spaces preferred around that ‘*’ or ‘|’ 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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index c3d46aac93b3..085d19a56866 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -47,7 +47,6 @@
#define VISORCHIPSET_MMAP_CONTROLCHANOFFSET 0x00000000
-
#define UNISYS_SPAR_LEAF_ID 0x40000000
/* The s-Par leaf ID returns "UnisysSpar64" encoded across ebx, ecx, edx */
@@ -379,7 +378,7 @@ parser_init_byte_stream(u64 addr, u32 bytes, bool local, bool *retry)
rc = NULL;
goto cleanup;
}
- ctx = kzalloc(allocbytes, GFP_KERNEL|__GFP_NORETRY);
+ ctx = kzalloc(allocbytes, GFP_KERNEL | __GFP_NORETRY);
if (!ctx) {
if (retry)
*retry = true;
@@ -522,7 +521,7 @@ parser_string_get(struct parser_context *ctx)
}
if (value_length < 0) /* '\0' was not included in the length */
value_length = nscan;
- value = kmalloc(value_length + 1, GFP_KERNEL|__GFP_NORETRY);
+ value = kmalloc(value_length + 1, GFP_KERNEL | __GFP_NORETRY);
if (value == NULL)
return NULL;
if (value_length > 0)