[PATCH net] net: airoha: fix error branch in airoha_dev_xmit and airoha_set_gdm_ports

Simon Horman horms at kernel.org
Wed Jul 17 03:34:29 PDT 2024


On Wed, Jul 17, 2024 at 10:15:46AM +0200, Lorenzo Bianconi wrote:
> Fix error case management in airoha_dev_xmit routine since we need to
> DMA unmap pending buffers starting from q->head.
> Moreover fix a typo in error case branch in airoha_set_gdm_ports
> routine.
> 
> Fixes: 23020f049327 ("net: airoha: Introduce ethernet support for EN7581 SoC")
> Signed-off-by: Lorenzo Bianconi <lorenzo at kernel.org>

Reviewed-by: Simon Horman <horms at kernel.org>




More information about the Linux-mediatek mailing list