diff options
author | Mark Starovoytov <mstarovoitov@marvell.com> | 2020-04-30 11:04:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-02 01:37:58 +0300 |
commit | d0f23741c202c685447050713907f3be39a985ee (patch) | |
tree | ee4a1352caaec18a37e1a0fe1eaecfd29da0ac4a /drivers/net/ipa/ipa_data-sc7180.c | |
parent | 36e90a5297ea02c67c0f17d8b39eb9ceb93dd6f0 (diff) | |
download | linux-d0f23741c202c685447050713907f3be39a985ee.tar.xz |
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>
Diffstat (limited to 'drivers/net/ipa/ipa_data-sc7180.c')
0 files changed, 0 insertions, 0 deletions