projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36e32ee
)
staging: rts5208: ms.c: Braces fix
author
Wayne Porter
<wporter82@gmail.com>
Tue, 11 Oct 2016 21:56:56 +0000
(21:56 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:27:14 +0000
(10:27 +0200)
Add braces to all arms of if statement
Signed-off-by: Wayne Porter <wporter82@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/ms.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rts5208/ms.c
b/drivers/staging/rts5208/ms.c
index d9bf3d011ccb0ca3a0a0191899e5572a0f9ada8a..2dd682300288dd1f556fcfc35e05202e56ee8439 100644
(file)
--- a/
drivers/staging/rts5208/ms.c
+++ b/
drivers/staging/rts5208/ms.c
@@
-805,9
+805,9
@@
static int ms_confirm_cpu_startup(struct rtsx_chip *chip)
}
if (val & INT_REG_ERR) {
- if (val & INT_REG_CMDNK)
+ if (val & INT_REG_CMDNK)
{
chip->card_wp |= (MS_CARD);
- else {
+
}
else {
rtsx_trace(chip);
return STATUS_FAIL;
}