aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorZhen Lei <[email protected]>2021-07-07 07:45:17 +0000
committerMauro Carvalho Chehab <[email protected]>2021-08-04 12:43:52 +0000
commit331e06bbde5856059b7a6bb183f12878ed4decb1 (patch)
treea89cecde82379f757606d9107dfdaf12702b4065 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentmedia: tegra-cec: Handle errors of clk_prepare_enable() (diff)
downloadkernel-331e06bbde5856059b7a6bb183f12878ed4decb1.tar.gz
kernel-331e06bbde5856059b7a6bb183f12878ed4decb1.zip
media: venus: hfi: fix return value check in sys_get_prop_image_version()
In case of error, the function qcom_smem_get() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: d566e78dd6af ("media: venus : hfi: add venus image info into smem") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Zhen Lei <[email protected]> Signed-off-by: Stanimir Varbanov <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions