Re: [PATCH net] net: ethernet: ec_bhf: Fix dma_free_coherent() dma handle
From: Markus Elfring
Date: Sat Feb 14 2026 - 08:34:52 EST
> dma_free_coherent() in error path takes priv->rx_buf.alloc_len as
> the dma handle. This would lead to improper unmapping of the buffer.
>
> Change the dma handle to priv->rx_buf.alloc_phys.
* Were any source code analysis tools involved here?
* You should probably specify message recipients not only in the header field “Cc”.
Regards,
Markus