aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@microchip.com>2018-08-20 10:54:45 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2018-08-21 16:06:17 +0200
commit17e96d8516e31c3cb52cb8e2ee79d1d2e6948c11 (patch)
treebc60f2baf18d3cf723fa0df1353bcd6cdec94c1f /tools/perf/scripts/python/futex-contention.py
parent19f5e9e015675fcdbf2c20e804b2e84e80201454 (diff)
mmc: android-goldfish: fix bad logic of sg_copy_{from,to}_buffer conversion
The conversion to sg_copy_{from,to}_buffer has been done in the wrong way. sg_copy_to_buffer is a copy from an SG list to a linear buffer so it can't replace memcpy(dest, host->virt_base, data->sg->length) where dest is the virtual address of the SG. Same for sg_copy_from_buffer but in the opposite way. Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com> Suggested-by: Douglas Gilbert <dgilbert@interlog.com> Fixes: 53d7e098ba08 ("mmc: android-goldfish: use sg_copy_{from,to}_buffer") Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions