Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235892
b: refs/heads/master
c: 7e79f78
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Feb 9, 2011
1 parent 728a602 commit d557649
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 581de3b0a538aa18181602008aa222f51dcf1ec3
refs/heads/master: 7e79f78b331632c1812ce9c07443550aa2b6c0fe
2 changes: 1 addition & 1 deletion trunk/drivers/staging/rts_pstor/ms.c
Original file line number Diff line number Diff line change
Expand Up @@ -3361,7 +3361,7 @@ static int ms_rw_multi_sector(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32
log_blk = (u16)(start_sector >> ms_card->block_shift);
start_page = (u8)(start_sector & ms_card->page_off);

for (seg_no = 0; seg_no < sizeof(ms_start_idx)/2; seg_no++) {
for (seg_no = 0; seg_no < ARRAY_SIZE(ms_start_idx) - 1; seg_no++) {
if (log_blk < ms_start_idx[seg_no+1])
break;
}
Expand Down

0 comments on commit d557649

Please sign in to comment.