diff options
author | Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> | 2024-04-12 23:42:08 +0530 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-04-18 13:26:34 -0700 |
commit | 6e40f142c57999ba8d274902a4eb2369b538f767 (patch) | |
tree | a6c5d3adf4fdb270de54478f951f78347c941393 /drivers/gpu/drm/xe/xe_gt.c | |
parent | 22bf0bc04d273ca002a47de55693797b13076602 (diff) | |
download | linux-stable-6e40f142c57999ba8d274902a4eb2369b538f767.tar.gz linux-stable-6e40f142c57999ba8d274902a4eb2369b538f767.tar.bz2 linux-stable-6e40f142c57999ba8d274902a4eb2369b538f767.zip |
drm/xe: Return NULL in case of drmm_add_action_or_reset failure
In case of drmm_add_action_or_reset failure return NULL and no need
to print warning messages as they will be printed implictly.
Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240412181211.1155732-5-himal.prasad.ghimiray@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_gt.c')
0 files changed, 0 insertions, 0 deletions