[PATCH net] net: stmmac: dwmac-qcom-ethqos: fix a regression on EMAC < 3

Vinod Koul vkoul at kernel.org
Mon Jun 5 00:06:36 PDT 2023


On 02-06-23, 21:04, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
> 
> We must not assign plat_dat->dwmac4_addrs unconditionally as for
> structures which don't set them, this will result in the core driver
> using zeroes everywhere and breaking the driver for older HW. On EMAC < 2
> the address should remain NULL.

Reviewed-by: Vinod Koul <vkoul at kernel.org>

-- 
~Vinod



More information about the linux-arm-kernel mailing list