diff options
author | Jordy Zomer <[email protected]> | 2021-07-31 11:19:38 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-08-02 12:16:47 +0530 |
commit | 5eea6c9712bd2a707216d7b923090510d60f9663 (patch) | |
tree | 778e4e87c5bcb935793a83b14d3e0610366a4571 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | b60bb6e2bfc192091b8f792781b83b5e0f9324f6 (diff) |
dmaengine: usb-dmac: make usb_dmac_get_current_residue unsigned
The usb_dmac_get_current_residue function used to
take a signed integer as a pos parameter.
The only callers of this function passes an unsigned integer to it.
Therefore to make it obviously safe, let's just make this an unsgined
integer as this is used in pointer arithmetics.
Signed-off-by: Jordy Zomer <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions