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