[PATCH] drm/rockchip: analogix_dp: Add missing error check for platform_get_resource()

Markus Elfring Markus.Elfring at web.de
Fri Feb 6 06:00:13 PST 2026


> Add missing error check for platform_get_resource() return value to
> prevent NULL pointer dereference when memory resource is not available.

* Were any source code analysis tools involved here?

* See also once more:
  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/stable-kernel-rules.rst?h=v6.19-rc8#n34


Regards,
Markus



More information about the linux-arm-kernel mailing list