commit | d0f23741c202c685447050713907f3be39a985ee | [log] [tgz] |
---|---|---|
author | Mark Starovoytov <mstarovoitov@marvell.com> | Thu Apr 30 11:04:34 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri May 01 15:37:58 2020 -0700 |
tree | ee4a1352caaec18a37e1a0fe1eaecfd29da0ac4a | |
parent | 36e90a5297ea02c67c0f17d8b39eb9ceb93dd6f0 [diff] |
net: atlantic: make hw_get_regs optional This patch fixes potential crash in case if hw_get_regs is NULL. Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>