[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250716185355.GQ721198@horms.kernel.org>
Date: Wed, 16 Jul 2025 19:53:55 +0100
From: Simon Horman <horms@...nel.org>
To: mark.einon@...il.com
Cc: Thomas Fourier <fourier.thomas@...il.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net v2] et131x: Add missing check after DMA map
On Wed, Jul 16, 2025 at 12:19:50PM +0100, mark.einon@...il.com wrote:
> On Wed, 2025-07-16 at 11:47 +0200, Thomas Fourier wrote:
> > The DMA map functions can fail and should be tested for errors.
> > If the mapping fails, unmap and return an error.
> >
> > Fixes: 38df6492eb51 ("et131x: Add PCIe gigabit ethernet driver et131x
> > to drivers/net")
> > Signed-off-by: Thomas Fourier <fourier.thomas@...il.com>
> > ---
> > v1 -> v2:
> > - Fix subject
> > - Fix double decrement of frag
> > - Make comment more explicit about why there are two loops
>
> Thanks for the updates Thomas, LGTM (also CC'd Simon who provided the
> initial comments).
>
> Acked-by: Mark Einon <mark.einon@...il.com>
Thanks, also LGTM.
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists