aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorYuesong Li <[email protected]>2024-08-30 03:16:42 +0000
committerMikulas Patocka <[email protected]>2024-09-02 09:41:11 +0000
commit00565cff01262c888512bffe9d41e4831a6f2cc7 (patch)
tree003ca1541fec81ae4cecd66e962e1dace0981772 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdm bufio: Remove NULL check of list_entry() (diff)
downloadkernel-00565cff01262c888512bffe9d41e4831a6f2cc7.tar.gz
kernel-00565cff01262c888512bffe9d41e4831a6f2cc7.zip
dm: Convert to use ERR_CAST()
Use ERR_CAST() as it is designed for casting an error pointer to another type. This macro utilizes the __force and __must_check modifiers, which instruct the compiler to verify for errors at the locations where it is employed. Signed-off-by: Yuesong Li <[email protected]> Signed-off-by: Mikulas Patocka <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions