[PATCH -next] phy: Sparx5 Eth SerDes: check return value after calling platform_get_resource()

Vinod Koul vkoul at kernel.org
Wed Jun 2 22:49:27 PDT 2021


On 03-06-21, 13:10, Yang Yingliang wrote:
> It will cause null-ptr-deref if platform_get_resource() returns NULL,
> we need check the return value.

Applied, thanks

-- 
~Vinod



More information about the linux-phy mailing list