Skip to content

drm/xe/ras: Fix and clean up xe_drm_ras

Shuicheng Lin intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe/ras: Fix error handling in register_nodes()drivers/gpu/drm/xe/xe_drm_ras.c+22 -97 replies
2/2drm/xe/ras: Clean up coding style in xe_drm_rasdrivers/gpu/drm/xe/xe_drm_ras.c+8 -115 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBrian Nguyen
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] drm/xe/ras: Fix and clean up xe_drm_ras

Patch 1 fixes error handling in register_nodes(): missing cleanup of previously registered nodes on mid-loop failure, and an invalid kfree() of an ERR_PTR when allocate_and_copy_counters() fails.

Patch 2 follows up with pure coding style cleanups.

Both patches apply to xe_drm_ras.c introduced by commit b40db12b542f ("drm/xe/xe_drm_ras: Add support for XE DRM RAS").

Shuicheng Lin (2):
drm/xe/ras: Fix error handling in register_nodes() drm/xe/ras: Clean up coding style in xe_drm_ras

 drivers/gpu/drm/xe/xe_drm_ras.c | 50 ++++++++++++++++++++-------------
 1 file changed, 30 insertions(+), 20 deletions(-)
Signature · 1 line
2.43.0