aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-07-08 11:41:06 +0300
committerZhenyu Wang <zhenyuw@linux.intel.com>2022-07-11 13:05:05 +0800
commite87197fbd137c888fd6c871c72fe7e89445dd015 (patch)
tree702bb611de2b14daeb7bccbfcd64a521d756b2ff /ipc
parentdrm/i915/gvt: Make DRM_I915_GVT depend on X86 (diff)
downloadlinux-dev-e87197fbd137c888fd6c871c72fe7e89445dd015.tar.xz
linux-dev-e87197fbd137c888fd6c871c72fe7e89445dd015.zip
drm/i915/gvt: IS_ERR() vs NULL bug in intel_gvt_update_reg_whitelist()
The shmem_pin_map() function returns NULL, it doesn't return error pointers. Fixes: 97ea656521c8 ("drm/i915/gvt: Parse default state to update reg whitelist") Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/Ysftoia2BPUyqVcD@kili Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions