aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@linux.intel.com>2023-05-26 14:41:38 +0200
committerAndi Shyti <andi.shyti@linux.intel.com>2023-06-01 18:14:53 +0200
commitedad9ee94f17adc75d3b13ab51bbe3d615ce1e7e (patch)
tree1e40e38b196338782dc9f676f32740afeb729769 /drivers/usb/cdns3/cdns3-ti.c
parent8ed0753b527dc00e759ec1e9e46c0ce9240c0f49 (diff)
drm/i915/gt: Use the correct error value when kernel_context() fails
kernel_context() returns an error pointer. Use pointer-error conversion functions to evaluate its return value, rather than checking for a '0' return. Fixes: eb5c10cbbc2f ("drm/i915: Remove I915_USER_PRIORITY_SHIFT") Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: <stable@vger.kernel.org> # v5.13+ Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> Acked-by: Tejas Upadhyay <tejas.upadhyay@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230526124138.2006110-1-andi.shyti@linux.intel.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions