diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-02-09 11:19:27 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-02-16 12:32:07 +0200 |
commit | 439cf34c8e0a8a33d8c15a31be1b7423426bc765 (patch) | |
tree | e61a7612620c846900e1d173f45179a6b78de592 /lib/bcd.c | |
parent | 59f39bfa6553d598cb22f694d45e89547f420d85 (diff) |
drm/atomic: Don't pollute crtc_state->mode_blob with error pointersdrm-misc-fixes-2022-02-17
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()).
Cc: stable@vger.kernel.org
Reported-by: fuyufan <fuyufan@huawei.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220209091928.14766-1-ville.syrjala@linux.intel.com
Acked-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'lib/bcd.c')
0 files changed, 0 insertions, 0 deletions