diff options
author | Ville Syrjälä <[email protected]> | 2017-07-12 18:51:00 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2017-07-13 19:28:43 +0300 |
commit | 56a91c4932bd038f3d1f6555ddc349ca4e6933b0 (patch) | |
tree | a3a7a3dc20d369637f1229a1b36fdca337fc0c03 /lib/memory-notifier-error-inject.c | |
parent | e27986853a168b31c9801359a7a70a5226b558c3 (diff) |
drm/dp/mst: Handle errors from drm_atomic_get_private_obj_state() correctly
On failure drm_atomic_get_private_obj_state() returns and error
pointer instead of NULL. Adjust the checks in the callers to match.
Cc: [email protected]
Cc: Dhinakaran Pandiyan <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Fixes: edb1ed1ab7d3 ("drm/dp: Add DP MST helpers to atomically find and release vcpi slots")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Dhinakaran Pandiyan <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions