diff options
| author | 2025-07-18 16:23:05 -0500 | |
|---|---|---|
| committer | 2025-10-23 16:24:41 +0200 | |
| commit | 29319ff77559a1f0f9cfb176e7ac4d9a2897f61e (patch) | |
| tree | 8af9018888114b6c48d7255e5515ab3719274bcf /scripts/git:/ssh:/git@git.zx2c4.com | |
| parent | PM: hibernate: Fix pm_hibernation_mode_is_suspend() build breakage (diff) | |
| download | laptop-kernel-29319ff77559a1f0f9cfb176e7ac4d9a2897f61e.tar.xz laptop-kernel-29319ff77559a1f0f9cfb176e7ac4d9a2897f61e.zip | |
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 'scripts/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
