Skip to content
Commit 7f4399ba authored by Claudiu Manoil's avatar Claudiu Manoil Committed by David S. Miller
Browse files

ptp_qoriq: fix NULL access if ptp dt node missing



Make sure ptp dt node exists before accessing it in case
of NULL pointer call trace.

Signed-off-by: default avatarClaudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
Acked-by: default avatarRichard Cochran <richardcochran@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5f058368
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