OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25ccf0b
)
staging: rts5208: ms.c: Multiple assignments
author
Wayne Porter
<wporter82@gmail.com>
Tue, 11 Oct 2016 21:56:55 +0000
(21:56 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:27:13 +0000
(10:27 +0200)
Fix check found by checkpatch
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
0573d80
..
d9bf3d0
100644
(file)
--- a/
drivers/staging/rts5208/ms.c
+++ b/
drivers/staging/rts5208/ms.c
@@
-2646,7
+2646,8
@@
static int ms_build_l2p_tbl(struct rtsx_chip *chip, int seg_no)
disable_cnt = segment->disable_count;
- segment->get_index = segment->set_index = 0;
+ segment->get_index = 0;
+ segment->set_index = 0;
segment->unused_blk_cnt = 0;
for (phy_blk = start; phy_blk < end; phy_blk++) {