diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-09-07 13:13:06 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-09-11 17:44:28 +0530 |
commit | ef759e4a28c88965972c815af6023f41bd733316 (patch) | |
tree | d42288acc030314870b99c4e4f84eeb836697485 /drivers/dma/sh | |
parent | 2fc3cad287c62c6477ab674e4430662b470c3a22 (diff) |
dmaengine: dmatest: Print error codes as signed value
When we got an error from DMA mapping API we convert a negative value
to unsigned long type and hence make user confused:
result #1: 'src mapping error' with src_off=0x19a72 dst_off=0xea len=0xccf4 (18446744073709551604)
Change this to print error codes as signed values.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200907101306.61824-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/sh')
0 files changed, 0 insertions, 0 deletions