summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw-axi-dmac
diff options
context:
space:
mode:
authorJordy Zomer <jordy@pwning.systems>2021-07-31 11:19:38 +0200
committerVinod Koul <vkoul@kernel.org>2021-08-02 08:46:47 +0200
commit5eea6c9712bd2a707216d7b923090510d60f9663 (patch)
tree778e4e87c5bcb935793a83b14d3e0610366a4571 /drivers/dma/dw-axi-dmac
parentdmaengine: idxd: fix abort status check (diff)
downloadlinux-5eea6c9712bd2a707216d7b923090510d60f9663.tar.xz
linux-5eea6c9712bd2a707216d7b923090510d60f9663.zip
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/dma/dw-axi-dmac')
0 files changed, 0 insertions, 0 deletions