Skip to content
Commit 55eac206 authored by Yangbo Lu's avatar Yangbo Lu Committed by David S. Miller
Browse files

ptp: fix NULL pointer dereference in ptp_clock_register



Fix NULL pointer dereference in ptp_clock_register. The argument
"parent" of ptp_clock_register may be NULL pointer.

Fixes: 73f37068 ("ptp: support ptp physical/virtual clocks conversion")
Reported-by: default avatarkernel test robot <oliver.sang@intel.com>
Signed-off-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6ff63a15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment