public inbox for drm-ai-reviews@public-inbox.freedesktop.org
 help / color / mirror / Atom feed
From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: accel/qaic: fix incorrect counter check in RAS message decode
Date: Sun, 12 Apr 2026 09:40:28 +1000	[thread overview]
Message-ID: <review-overall-20260410112015.592546-1-alok.a.tiwari@oracle.com> (raw)
In-Reply-To: <20260410112015.592546-1-alok.a.tiwari@oracle.com>

Overall Series Review

Subject: accel/qaic: fix incorrect counter check in RAS message decode
Author: Alok Tiwari <alok.a.tiwari@oracle.com>
Patches: 3
Reviewed: 2026-04-12T09:40:28.470501

---

This is a single-patch fix for a clear copy-paste bug in the QAIC accelerator RAS (Reliability, Accessibility, Serviceability) error counter logic. The fix is correct, minimal, and obviously right. The bug was introduced in commit c11a50b170e7 and causes `ue_count` and `ue_nf_count` to be gated by the wrong overflow check — they look at `ce_count` instead of their own counter. This means those counters stop incrementing once `ce_count` (not the relevant counter) saturates at `UINT_MAX`, which is both functionally wrong and could mask uncorrectable error reporting.

**Verdict: This patch should be accepted.**

---
Generated by Claude Code Patch Reviewer

  parent reply	other threads:[~2026-04-11 23:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-10 11:20 [PATCH] accel/qaic: fix incorrect counter check in RAS message decode Alok Tiwari
2026-04-10 17:08 ` Jeff Hugo
2026-04-10 17:08 ` Jeff Hugo
2026-04-11 23:40 ` Claude Code Review Bot [this message]
2026-04-11 23:40 ` Claude review: " Claude Code Review Bot

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=review-overall-20260410112015.592546-1-alok.a.tiwari@oracle.com \
    --to=claude-review@example.com \
    --cc=dri-devel-reviews@example.com \
    /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