[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y7xhIXET9d5J7Rzt@nanopsycho>
Date: Mon, 9 Jan 2023 19:46:57 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Clément Léger <clement.leger@...tlin.com>
Cc: Horatiu Vultur <horatiu.vultur@...rochip.com>,
UNGLinuxDriver@...rochip.com,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Richard Cochran <richardcochran@...il.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
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@...tlin.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@...tlin.com>
>Reviewed-by: Horatiu Vultur <horatiu.vultur@...rochip.com>
Reviewed-by: Jiri Pirko <jiri@...dia.com>
Powered by blists - more mailing lists