diff options
author | Yangbo Lu <[email protected]> | 2021-07-05 16:53:06 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-07-05 10:09:29 -0700 |
commit | 55eac20617ca84129273ab248f4d7bfe456967de (patch) | |
tree | c6ec8dedcc5741397c2d076c4753455d180b73be /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 6ff63a150b5556012589ae59efac1b5eeb7d32c3 (diff) |
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 <[email protected]>
Signed-off-by: Yangbo Lu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions