diff options
author | 2020-01-30 18:44:50 +0100 | |
---|---|---|
committer | 2020-01-31 07:46:11 -0800 | |
commit | 0e0daf6ac3be70608569262246f6dc33cb3f45fe (patch) | |
tree | eb25c5a6b7e4105c3ff95af5d584b189d6697d0d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'drm-next-2020-01-30' of git://anongit.freedesktop.org/drm/drm (diff) | |
download | wireguard-linux-0e0daf6ac3be70608569262246f6dc33cb3f45fe.tar.xz wireguard-linux-0e0daf6ac3be70608569262246f6dc33cb3f45fe.zip |
net: mdio: of: fix potential NULL pointer derefernce
of_find_mii_timestamper() returns NULL if no timestamper is found.
Therefore, guard the unregister_mii_timestamper() calls.
Fixes: 1dca22b18421 ("net: mdio: of: Register discovered MII time stampers.")
Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions