summaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-07-19 00:23:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-23 17:24:41 +0300
commit29319ff77559a1f0f9cfb176e7ac4d9a2897f61e (patch)
tree8af9018888114b6c48d7255e5515ab3719274bcf /include/linux/overflow.h
parentb5b378d254e270bafb4bad98f69a2228c1441242 (diff)
downloadlinux-29319ff77559a1f0f9cfb176e7ac4d9a2897f61e.tar.xz
drm/xe: Fix an IS_ERR() vs NULL bug in xe_tile_alloc_vram()
commit 6c9e64e83b22405622d1f47417cdb0d20d49ca35 upstream. The xe_vram_region_alloc() function returns NULL on error. It never returns error pointers. Update the error checking to match. Fixes: 4b0a5f5ce784 ("drm/xe: Unify the initialization of VRAM regions") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/5449065e-9758-4711-b706-78771c0753c4@sabinyo.mountain Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions