diff options
author | Jordy Zomer <jordy@pwning.systems> | 2021-07-31 11:19:38 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-08-02 12:16:47 +0530 |
commit | 5eea6c9712bd2a707216d7b923090510d60f9663 (patch) | |
tree | 778e4e87c5bcb935793a83b14d3e0610366a4571 /drivers/iommu/iommu-traces.c | |
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 <jordy@pwning.systems>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20210731091939.510816-1-jordy@pwning.systems
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/iommu/iommu-traces.c')
0 files changed, 0 insertions, 0 deletions