]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: visorchannel: Add braces to else arm of if/else statement
authorBryan Thompson <bryan.thompson@unisys.com>
Thu, 6 Nov 2014 19:13:11 +0000 (14:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:22:01 +0000 (09:22 -0800)
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>
drivers/staging/unisys/visorchannel/visorchannel_funcs.c

index a0fd358e0c28ff1dedba959e4c6ba44c3a83968a..36559d5fa673572afefc097adfa1279a2d2f39e3 100644 (file)
@@ -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",