Re: [PATCH net-next 1/2] net: mdio: of: fix potential NULL pointer derefernce
From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-02-02 20:22:41
From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-02-02 20:22:41
On Sun, 02 Feb 2020 21:13:53 +0100, Michael Walle wrote:
Am 2020-01-31 16:49, schrieb Jakub Kicinski:quoted
On Thu, 30 Jan 2020 18:44:50 +0100, Michael Walle wrote:quoted
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 <redacted>Applied both, thank you.Just for completeness, the subject should have to be [PATCH net], because its a fix, correct?
Yup.