Re: [PATCH 1/2] drm/atomic: Don't pollute crtc_state->mode_blob with error pointers

2022-02-16 Thread Ville Syrjälä
On Wed, Feb 09, 2022 at 11:19:27AM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > Make sure we don't assign an error pointer to crtc_state->mode_blob > as that will break all kinds of places that assume either NULL or a > valid pointer (eg. drm_property_blob_put()). > > Reported-by: fuyuf

[PATCH 1/2] drm/atomic: Don't pollute crtc_state->mode_blob with error pointers

2022-02-09 Thread Ville Syrjala
From: Ville Syrjälä Make sure we don't assign an error pointer to crtc_state->mode_blob as that will break all kinds of places that assume either NULL or a valid pointer (eg. drm_property_blob_put()). Reported-by: fuyufan Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_atomic_uapi.c | 14