summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
diff options
context:
space:
mode:
authorMark Starovoytov <mstarovoitov@marvell.com>2020-04-30 11:04:34 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-01 15:37:58 -0700
commitd0f23741c202c685447050713907f3be39a985ee (patch)
treeee4a1352caaec18a37e1a0fe1eaecfd29da0ac4a /drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
parent36e90a5297ea02c67c0f17d8b39eb9ceb93dd6f0 (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>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c')
0 files changed, 0 insertions, 0 deletions