public inbox for intel-xe@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Shuicheng Lin <shuicheng.lin@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Shuicheng Lin <shuicheng.lin@intel.com>
Subject: [PATCH 0/2] drm/xe/ras: Fix and clean up xe_drm_ras
Date: Tue,  7 Apr 2026 22:59:11 +0000	[thread overview]
Message-ID: <20260407225913.3397059-1-shuicheng.lin@intel.com> (raw)

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(-)

-- 
2.43.0


             reply	other threads:[~2026-04-07 23:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-07 22:59 Shuicheng Lin [this message]
2026-04-07 22:59 ` [PATCH 1/2] drm/xe/ras: Fix error handling in register_nodes() Shuicheng Lin
2026-04-11  4:46   ` Nguyen, Brian3
2026-04-13  4:39     ` Tauro, Riana
2026-04-14  0:15       ` Lin, Shuicheng
2026-04-14  4:27         ` Tauro, Riana
2026-04-11  7:56   ` Raag Jadav
2026-04-14  0:30     ` Lin, Shuicheng
2026-04-14  4:30       ` Tauro, Riana
2026-04-07 22:59 ` [PATCH 2/2] drm/xe/ras: Clean up coding style in xe_drm_ras Shuicheng Lin
2026-04-11  4:54   ` Nguyen, Brian3
2026-04-13  4:46     ` Tauro, Riana
2026-04-14  0:27       ` Lin, Shuicheng
2026-04-14  4:33         ` Tauro, Riana
2026-04-11  7:58   ` Raag Jadav
2026-04-07 23:09 ` ✗ CI.checkpatch: warning for drm/xe/ras: Fix and clean up xe_drm_ras Patchwork
2026-04-07 23:10 ` ✗ CI.KUnit: failure " Patchwork
2026-04-10  3:55 ` ✗ CI.checkpatch: warning for drm/xe/ras: Fix and clean up xe_drm_ras (rev2) Patchwork
2026-04-10  3:56 ` ✓ CI.KUnit: success " Patchwork
2026-04-10  4:32 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-10 10:41 ` ✗ Xe.CI.FULL: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260407225913.3397059-1-shuicheng.lin@intel.com \
    --to=shuicheng.lin@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox