diff options
author | Dinh Nguyen <dinguyen@kernel.org> | 2022-04-20 10:23:45 -0500 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-04-22 16:31:56 -0700 |
commit | 5fd1fe4807f91ea0cca043114d929faa11bd4190 (patch) | |
tree | db3611589fd72c27123efaf1883d88bc0bb7952b /net/sctp | |
parent | f675ed06390b3a4221384fb19a28407fe3e54160 (diff) |
net: ethernet: stmmac: fix write to sgmii_adapter_base
I made a mistake with the commit a6aaa0032424 ("net: ethernet: stmmac:
fix altr_tse_pcs function when using a fixed-link"). I should have
tested against both scenario of having a SGMII interface and one
without.
Without the SGMII PCS TSE adpater, the sgmii_adapter_base address is
NULL, thus a write to this address will fail.
Cc: stable@vger.kernel.org
Fixes: a6aaa0032424 ("net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link")
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Link: https://lore.kernel.org/r/20220420152345.27415-1-dinguyen@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions