commit | a9c45213907b4d93a76ffd9f471fbc095634bc84 | [log] [tgz] |
---|---|---|
author | Mona Hossain <mhossain@codeaurora.org> | Mon Feb 11 13:01:56 2013 -0800 |
committer | Jay Chokshi <jchokshi@codeaurora.org> | Thu Feb 14 20:23:14 2013 -0800 |
tree | 8d98df4c952ec13840f23305a02a9df9d0fd3d75 | |
parent | fd8cd480f621c28bd340602481e712703b8ed40b [diff] |
crypto: msm: Remove use of index to address sg entry Treating scatter gather list as an array is and referencing entries with indexes results in incorrect sg entries. Tnis is because the sg entries are not contiguous in some scenarios. Fix is to use scatterwalk_sg_next() to traverse the sg list. Change-Id: I1d7ebec779fa18c3ab5f0a6f357ef7fb53d3e9ab Signed-off-by: Mona Hossain <mhossain@codeaurora.org>