diff options
author | 2023-01-25 18:19:00 +0300 | |
---|---|---|
committer | 2023-02-10 17:15:23 -0600 | |
commit | 5fdca4a995bcd4cf61bda40af154a730589dc524 (patch) | |
tree | 1cdd81ede7030a71efca605ede9ae94b71972f4f /tools/perf/scripts/python/task-analyzer.py | |
parent | dmaengine: dw-edma: Use DMA engine device debugfs subdirectory (diff) | |
download | wireguard-linux-5fdca4a995bcd4cf61bda40af154a730589dc524.tar.xz wireguard-linux-5fdca4a995bcd4cf61bda40af154a730589dc524.zip |
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions