On 12/20/21 4:42 PM, Jiasheng Jiang wrote: > The return value of platform_get_resource() needs to be checked. > To avoid use of error pointer in case that there is no suitable resource. s/error/NULL/ -- platform_get_resource() doesn't return error pointers... > Fixes: 4808a1c02611 ("[PATCH] USB: Add isp116x-hcd USB host controller driver") > Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx> [...] MBR, Sergey