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 <redacted>
---
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@gmail.com>