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: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment