diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-06-02 21:04:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-05 12:38:49 +0200 |
commit | 9bc009734774549f8bb8d7e526ba10e70d751a7c (patch) | |
tree | 073d62e8ebe0d59d932b1ee0a02f90019a54edad /net/mptcp/protocol.h | |
parent | Merge tag 'linux-can-fixes-for-6.4-20230605' of git://git.kernel.org/pub/scm/... (diff) | |
download | linux-9bc009734774549f8bb8d7e526ba10e70d751a7c.tar.xz linux-9bc009734774549f8bb8d7e526ba10e70d751a7c.zip |
net: stmmac: dwmac-qcom-ethqos: fix a regression on EMAC < 3
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.
Fixes: b68376191c69 ("net: stmmac: dwmac-qcom-ethqos: Add EMAC3 support")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/protocol.h')
0 files changed, 0 insertions, 0 deletions