aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
diff options
context:
space:
mode:
authorImmad Mir <[email protected]>2023-06-15 06:35:56 +0000
committerHuacai Chen <[email protected]>2023-06-15 06:35:56 +0000
commit41efbb682de1231c3f6361039f46ad149e3ff5b9 (patch)
tree997516ece26473f01e1cdcd2840ab32e4a3d650e /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
parentLoongArch: Avoid uninitialized alignment_mask (diff)
downloadkernel-41efbb682de1231c3f6361039f46ad149e3ff5b9.tar.gz
kernel-41efbb682de1231c3f6361039f46ad149e3ff5b9.zip
LoongArch: Fix debugfs_create_dir() error checking
The debugfs_create_dir() returns ERR_PTR in case of an error and the correct way of checking it is using the IS_ERR_OR_NULL inline function rather than the simple null comparision. This patch fixes the issue. Cc: [email protected] Suggested-By: Ivan Orlov <[email protected]> Signed-off-by: Immad Mir <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c')
0 files changed, 0 insertions, 0 deletions