diff options
author | 2017-07-12 18:51:00 +0300 | |
---|---|---|
committer | 2017-07-13 19:28:43 +0300 | |
commit | 56a91c4932bd038f3d1f6555ddc349ca4e6933b0 (patch) | |
tree | a3a7a3dc20d369637f1229a1b36fdca337fc0c03 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/mediatek: Convert to new iterator macros (diff) | |
download | linux-dev-56a91c4932bd038f3d1f6555ddc349ca4e6933b0.tar.xz linux-dev-56a91c4932bd038f3d1f6555ddc349ca4e6933b0.zip |
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: stable@vger.kernel.org
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fixes: edb1ed1ab7d3 ("drm/dp: Add DP MST helpers to atomically find and release vcpi slots")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170712155102.26276-1-ville.syrjala@linux.intel.com
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions