mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
c440ce1f56
commit
f36b9dfed7
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue