Re: [PATCH] usb: isp1760: Add missing error check for platform_get_resource()

From: Sergey Shtylyov

Date: Tue Feb 10 2026 - 08:58:19 EST


On 2/10/26 12:02 PM, Chen Ni wrote:

> Check the return value of platform_get_resource() to prevent potential
> NULL pointer dereference when the memory resource is unavailable.
>
> Fixes: 7ef077a8ad35 ("usb: isp1760: Move driver from drivers/usb/host/ to drivers/usb/isp1760/")

BTW, I seriously doubt this is the correct commit...

> Signed-off-by: Chen Ni <nichen@xxxxxxxxxxx>

[...]

MBR, Sergey