commit | ed29da7123a6275f0b2b1ee05f761b25ab0f20d4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Aug 07 15:28:32 2019 +0300 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Aug 07 14:30:59 2019 +0100 |
tree | 93c93af6fb3c304c24d4abd52cfbc5210e228820 | |
parent | 9ae06cad821bbeaca9b34dbb9bdb8591a1d9762a [diff] |
drm/i915: Fix some NULL vs IS_ERR() conditions There were several places which check for NULL when they should have been checking for IS_ERR(). Fixes: d8af05ff38ae ("drm/i915: Allow sharing the idle-barrier from other kernel requests") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190807122832.GA10517@mwanda