Re: [PATCH v2] (drivers/ethernet/atheros/atl1) test DMA mapping for error code

From: Jakub Kicinski
Date: Fri Jun 13 2025 - 10:45:04 EST


On Fri, 13 Jun 2025 11:54:08 +0200 Thomas Fourier wrote:
> According to Shuah Khan[1], all `dma_map()` functions should be tested
> before using the pointer. This patch checks for errors after all `dma_map()`
> calls.

Please read:
https://www.kernel.org/doc/html/next/process/maintainer-netdev.html