diff options
author | 2023-01-09 16:32:23 +0100 | |
---|---|---|
committer | 2023-01-11 08:31:36 +0000 | |
commit | b0e380b5d4275299adf43e249f18309331b6f54f (patch) | |
tree | 3fe2981292bf5ddac6fdc72c4305097d1515d3a4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (diff) | |
download | wireguard-linux-b0e380b5d4275299adf43e249f18309331b6f54f.tar.xz wireguard-linux-b0e380b5d4275299adf43e249f18309331b6f54f.zip |
net: lan966x: check for ptp to be enabled in lan966x_ptp_deinit()
If ptp was not enabled due to missing IRQ for instance,
lan966x_ptp_deinit() will dereference NULL pointers.
Fixes: d096459494a8 ("net: lan966x: Add support for ptp clocks")
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions