Re: [PATCH net-next 1/2] net: mdio: of: fix potential NULL pointer derefernce
From: Jakub Kicinski
Date: Fri Jan 31 2020 - 10:49:16 EST
On Thu, 30 Jan 2020 18:44:50 +0100, Michael Walle wrote:
> 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@xxxxxxxx>
Applied both, thank you.