diff options
| author | Yuesong Li <[email protected]> | 2024-08-30 03:16:42 +0000 |
|---|---|---|
| committer | Mikulas Patocka <[email protected]> | 2024-09-02 09:41:11 +0000 |
| commit | 00565cff01262c888512bffe9d41e4831a6f2cc7 (patch) | |
| tree | 003ca1541fec81ae4cecd66e962e1dace0981772 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | dm bufio: Remove NULL check of list_entry() (diff) | |
| download | kernel-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
