Thread (3 messages) 3 messages, 3 authors, 2021-08-02

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

From: Vinod Koul <vkoul@kernel.org>
Date: 2021-08-02 06:47:02
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help