summaryrefslogtreecommitdiff
path: root/drivers/gpu/trace/trace_gpu_mem.c
diff options
context:
space:
mode:
authorHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>2024-04-12 23:42:07 +0530
committerLucas De Marchi <lucas.demarchi@intel.com>2024-04-24 10:19:55 -0500
commitf38c4d224aa37fce1e3fe05db4377ef888f0737f (patch)
treee994858b3e1af40bf6927309ffea15ec522b1255 /drivers/gpu/trace/trace_gpu_mem.c
parentd6dab9017b7cf155e73ba5c7f498de1beb5f8e24 (diff)
drm/xe: call free_gsc_pkt only once on action add failure
The drmm_add_action_or_reset function automatically invokes the action (free_gsc_pkt) in the event of a failure; therefore, there's no necessity to call it within the return check. -v2 Fix commit message. (Lucas) Fixes: d8b1571312b7 ("drm/xe/huc: HuC authentication via GSC") Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240412181211.1155732-4-himal.prasad.ghimiray@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> (cherry picked from commit 22bf0bc04d273ca002a47de55693797b13076602) Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'drivers/gpu/trace/trace_gpu_mem.c')
0 files changed, 0 insertions, 0 deletions