drm/i915/skl: Fix up positive error code
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 25 Mar 2015 10:15:26 +0000 (10:15 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Mar 2015 17:23:43 +0000 (18:23 +0100)
commit1d00dad56b15ed5dab5802143df2bf61d51b6b55
tree487cee52bef41c8b2a4222702a325f099da2b455
parentc0f404284192f2d4a0159a714372a8c8610c1f6d
drm/i915/skl: Fix up positive error code

It should have been negative since it is returned with ERR_PTR().

Introduced in new code commit:

   commit 50470bb011c4be278097670bea92462f4e8c8945
   Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
   Date:   Mon Mar 23 11:10:36 2015 +0000

    drm/i915/skl: Support secondary (rotated) frame buffer mapping

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c