aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorBryan Thompson <bryan.thompson@unisys.com>2014-11-06 14:13:11 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 09:22:01 -0800
commitf36b9dfed7da05e327ca22b44468a29623922c4e (patch)
tree8d8656b87d1717c8e2f54fb2b91a7aca3c2f56ae /drivers/staging/unisys
parentstaging: unisys: visorchannel: Rename goto label Away (diff)
downloadlinux-dev-f36b9dfed7da05e327ca22b44468a29623922c4e.tar.xz
linux-dev-f36b9dfed7da05e327ca22b44468a29623922c4e.zip
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 a0fd358e0c28..36559d5fa673 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",