diff options
author | Boaz Harrosh <[email protected]> | 2008-09-24 12:00:22 +0300 |
---|---|---|
committer | James Bottomley <[email protected]> | 2008-09-28 17:10:40 -0500 |
commit | c9eeb248f3b44939532a9716bc06413383aa5d63 (patch) | |
tree | 551add90abf50c42b6a3ffcdf487a49ed9dfd2c4 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 44ea91c597ae4641d9ac21b8bbba0795d2f4261e (diff) |
[SCSI] qlogicpti: fix sg list traversal error in continuation entries
The current sg list traversal logic for the continuation entries
doesn't advance the list pointer once all seven slots are used, so the
next continuation entry (if there is one) wrongly begins again at the
start of the sg list.
Fix by advancing the sg pointer after the for_each_sg().
Reported-by: Meelis Roos <[email protected]>
Cc: David Miller <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions