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

From: Jakub Kicinski
Date: Mon Jan 30 2023 - 19:21:04 EST


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.