In the Linux kernel, the following vulnerability has been resolved:
drm/sprd: fix potential NULL dereference
'drm' could be null in sprddrmshutdown, and drm_warn maybe dereference it, remove this warning log.
v1 -> v2: - Split checking platformgetresource() return value to a separate patch - Use dev_warn() instead of removing the warning log