[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230130162041.556b34b3@kernel.org>
Date: Mon, 30 Jan 2023 16:20:41 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Jonas Suhr Christensen <jsc@...raculum.org>,
netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
pabeni@...hat.com, michal.simek@...inx.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
esben@...nix.com
Subject: Re: [PATCH 1/2] net: ll_temac: fix DMA resources leak
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.
Powered by blists - more mailing lists