net: bcm63xx: avoid possible null pointer dereference
If dev_get_platdata has failed pd is null. Do not dereference a null pointer. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录