diff options
author | Yann Gautier <yann.gautier@foss.st.com> | 2022-03-17 14:19:43 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2022-04-04 13:17:46 +0300 |
commit | 0d319dd5a27183b75d984e3dc495248e59f99334 (patch) | |
tree | cfec33f3c07e04e848e4253a7bafffa55330f244 /tools/perf/scripts/python/stackcollapse.py | |
parent | 7e2646ed47542123168d43916b84b954532e5386 (diff) | |
download | linux-0d319dd5a27183b75d984e3dc495248e59f99334.tar.xz |
mmc: mmci: stm32: correctly check all elements of sg list
Use sg and not data->sg when checking sg list elements. Else only the
first element alignment is checked.
The last element should be checked the same way, for_each_sg already set
sg to sg_next(sg).
Fixes: 46b723dd867d ("mmc: mmci: add stm32 sdmmc variant")
Cc: stable@vger.kernel.org
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Link: https://lore.kernel.org/r/20220317111944.116148-2-yann.gautier@foss.st.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions