Messages in this thread | | | Date | Mon, 9 Jan 2023 19:46:57 +0100 | From | Jiri Pirko <> | Subject | Re: [PATCH net v2] net: lan966x: check for ptp to be enabled in lan966x_ptp_deinit() |
| |
Mon, Jan 09, 2023 at 04:32:23PM CET, clement.leger@bootlin.com wrote: >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>
| |