drm/i915: Check error return when setting DMA mask
authorImre Deak <imre.deak@intel.com>
Wed, 10 May 2017 09:21:50 +0000 (12:21 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 10 May 2017 10:47:45 +0000 (13:47 +0300)
commit4519290aec0e93e2832f77db3437c332bba6506c
tree2af8eca23f688516c8b5e9906bb11a38a1565e68
parent99016646608148be3cf3df157a60f83447dc45aa
drm/i915: Check error return when setting DMA mask

Even though an error from these functions isn't fatal we still want to
have a diagnostic message about it.

v2:
- Don't do assignments in if statements. (Jani)

Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1494408113-379-4-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c