mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
36e90a5297
commit
d0f23741c2
1 changed files with 6 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue