aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorBryan Thompson <bryan.thompson@unisys.com>2014-11-06 19:13:11 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 17:22:01 (GMT)
commitf36b9dfed7da05e327ca22b44468a29623922c4e (patch)
tree8d8656b87d1717c8e2f54fb2b91a7aca3c2f56ae /drivers/staging/unisys
parentc440ce1f5652d2e6fe4d8aec18ef6448ff75fdd2 (diff)
staging: unisys: visorchannel: Add braces to else arm of if/else statement
Add braces to the else arm of an if/else block 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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/unisys/visorchannel/visorchannel_funcs.c b/drivers/staging/unisys/visorchannel/visorchannel_funcs.c
index a0fd358..36559d5 100644
--- a/drivers/staging/unisys/visorchannel/visorchannel_funcs.c
+++ b/drivers/staging/unisys/visorchannel/visorchannel_funcs.c
@@ -596,8 +596,9 @@ visorchannel_debug(VISORCHANNEL *channel, int nQueues,
if (off == 0) {
phdr = &channel->chan_hdr;
seq_puts(seq, "(following data may be stale)\n");
- } else
+ } else {
return;
+ }
}
nbytes = (ulong)(phdr->size);
seq_printf(seq, "--- Begin channel @0x%-16.16Lx for 0x%lx bytes (region=0x%lx bytes) ---\n",

Privacy Policy