[PATCH 5.15 395/565] drm/sti: avoid potential dereference of error pointers in sti_gdp_atomic_check