Thread (6 messages) flat view 6 messages, 3 authors, 2023-01-31

Re: [PATCH 1/2] net: ll_temac: fix DMA resources leak

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-01-31 00:21:02
Also in: linux-arm-kernel, lkml

On Mon, 30 Jan 2023 22:56:04 +0100 Christophe JAILLET wrote:
quoted
-		dma_unmap_single(ndev->dev.parent, lp->rx_bd_v[i].phys,
+
+		bd = &lp->rx_bd_v[1];  
Hi,
just a naive question from s.o. who knows nothing of this code:

Is really [1] ([one]) expected here?
[i] would look more "standard" in a 'for' loop.
Wow, good eye. 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help