commit | 894cf7d156346986946cc573dc8c251804dc8321 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Oct 19 11:11:38 2016 +0100 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Thu Oct 20 17:18:39 2016 +0800 |
tree | e2196596458114532419b302d51bda4843a9c3d4 | |
parent | 75ea10da063f96d81828316cc25a896ae523c826 [diff] |
drm/i915/gvt: i915_gem_object_create() returns an error pointer On failure from i915_gem_object_create(), we need to check for an error pointer not NULL. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>