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

Jakub Kicinski kuba at kernel.org
Mon Jan 30 16:20:41 PST 2023


On Mon, 30 Jan 2023 22:56:04 +0100 Christophe JAILLET wrote:
> > -		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. 



More information about the linux-arm-kernel mailing list