Re: [PATCH] dmaengine: usb-dmac: make usb_dmac_get_current_residue unsigned

From: Vinod Koul
Date: Mon Aug 02 2021 - 02:47:02 EST


On 31-07-21, 11:19, Jordy Zomer wrote:
> 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.

Applied, thanks

--
~Vinod