diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2021-07-05 11:53:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-05 20:09:29 +0300 |
commit | 55eac20617ca84129273ab248f4d7bfe456967de (patch) | |
tree | c6ec8dedcc5741397c2d076c4753455d180b73be /tools/thermal/tmon | |
parent | 6ff63a150b5556012589ae59efac1b5eeb7d32c3 (diff) | |
download | linux-55eac20617ca84129273ab248f4d7bfe456967de.tar.xz |
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: 73f37068d540 ("ptp: support ptp physical/virtual clocks conversion")
Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/thermal/tmon')
0 files changed, 0 insertions, 0 deletions