[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YQeU31f1VXqS4x5g@matsya>
Date: Mon, 2 Aug 2021 12:16:55 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Jordy Zomer <jordy@...ing.systems>
Cc: dmaengine@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dmaengine: usb-dmac: make usb_dmac_get_current_residue
unsigned
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
Powered by blists - more mailing lists