Skip to content
Commit 77577bf9 authored by Mike Sinkovsky's avatar Mike Sinkovsky Committed by David S. Miller
Browse files

net: WIZnet drivers: fix possible NULL dereference



This fixes possible null dereference in probe() function: when both
.mac_addr and .link_gpio are unknown, dev.platform_data may be NULL

Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMike Sinkovsky <msink@permonline.ru>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9b17876f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment