Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299103
b: refs/heads/master
c: 3fd654c
h: refs/heads/master
i:
  299101: 38c9f5b
  299099: 94c202b
  299095: 3d8974a
  299087: aa6d82f
  299071: 9743958
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent 14c7c65 commit 60e18ed
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 678b7c17073a9e383f204c3e8e0000821afb6103
refs/heads/master: 3fd654c22c7b002e8681accaed50a6d46656d815
3 changes: 2 additions & 1 deletion trunk/drivers/staging/rts_pstor/ms.c
Original file line number Diff line number Diff line change
Expand Up @@ -3498,7 +3498,8 @@ static int ms_rw_multi_sector(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32

log_blk++;

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 60e18ed

Please sign in to comment.