aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorBryan Thompson <bryan.thompson@unisys.com>2014-11-06 14:13:05 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 09:22:01 -0800
commitff247e7f9b3572ea041a60a01a151a8323fc257f (patch)
treec9ee03707eaefb49f9ca3d0fd8499501a0faa040 /drivers/staging/unisys
parentstaging: unisys: visorchannel: Remove multiple blank lines (diff)
downloadlinux-dev-ff247e7f9b3572ea041a60a01a151a8323fc257f.tar.xz
linux-dev-ff247e7f9b3572ea041a60a01a151a8323fc257f.zip
staging: unisys: visorchannel: Fix alignment issues
Use the appropriate whitespace for multiline statements in visorchannel_funcs.c Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/visorchannel/visorchannel_funcs.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/staging/unisys/visorchannel/visorchannel_funcs.c b/drivers/staging/unisys/visorchannel/visorchannel_funcs.c
index b3265c80d0f3..1d55254b8967 100644
--- a/drivers/staging/unisys/visorchannel/visorchannel_funcs.c
+++ b/drivers/staging/unisys/visorchannel/visorchannel_funcs.c
@@ -226,7 +226,7 @@ visorchannel_read(VISORCHANNEL *channel, ulong offset,
int rc = visor_memregion_read(channel->memregion, offset,
local, nbytes);
if ((rc >= 0) && (offset == 0) &&
- (nbytes >= sizeof(struct channel_header))) {
+ (nbytes >= sizeof(struct channel_header))) {
memcpy(&channel->chan_hdr, local,
sizeof(struct channel_header));
}
@@ -399,7 +399,7 @@ safe_sig_queue_validate(struct signal_queue_header *psafe_sqh,
punsafe_sqh->tail = *ptail;
ERRDRV("safe_sig_queue_validate: head = 0x%x, tail = 0x%x, MaxSlots = 0x%x",
- *phead, *ptail, psafe_sqh->max_slots);
+ *phead, *ptail, psafe_sqh->max_slots);
return 0;
}
return 1;
@@ -622,9 +622,10 @@ visorchannel_debug(VISORCHANNEL *channel, int nQueues,
struct signal_queue_header q;
errcode = visorchannel_read(channel,
- off + phdr->ch_space_offset +
- (i * sizeof(q)),
- &q, sizeof(q));
+ off +
+ phdr->ch_space_offset +
+ (i * sizeof(q)),
+ &q, sizeof(q));
if (errcode < 0) {
seq_printf(seq,
"failed to read signal queue #%d from channel @0x%-16.16Lx errcode=%d\n",