diff options
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | 2023-01-25 18:19:00 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-02-11 02:15:23 +0300 |
commit | 5fdca4a995bcd4cf61bda40af154a730589dc524 (patch) | |
tree | 1cdd81ede7030a71efca605ede9ae94b71972f4f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6cb6e9c6050ac32c33466899b6488d5b6dd1d8e8 (diff) | |
download | linux-5fdca4a995bcd4cf61bda40af154a730589dc524.tar.xz |
dmaengine: dw-edma: Fix readq_ch() return value truncation
Previously, readq_ch() did a 64-bit readq(), but truncated the result by
storing it in the u32 "value". Change "value" to u64 to avoid the
truncation.
Note: the method is currently unused, so the bug hasn't caused any problem
so far.
Fixes: 04e0a39fc10f ("dmaengine: dw-edma: Add writeq() and readq() for 64 bits architectures")
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions