wan/fsl_ucc_hdlc: avoid possible NULL pointer dereference
All assignments to components of priv should only occur after the check if prif is NULL. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录