On Fri, Nov 27, 2026 at 06:24:46PM +0000, [email protected] wrote: > Thank you for your contribution! Sashiko AI review found 1 potential > issue to consider: > - [Low] drm/ras: missing Fixes trailer for node type check in > drm_ras_node_get()
addressed. > -- > > commit 9258f81bad25ef1d7e2f5db2a77f4c65a38c081f > Author: Rodrigo Vivi <[email protected]> > > > drm/ras: Check the node type in node lookups > > > > drm_ras_node_get() returns a node of any type. The telemetry handlers > > check the type themselves, but the error-counter ones do not, so an > > error-counter operation on a telemetry node fails with -EOPNOTSUPP or > > walks its empty counter range, instead of reporting -ENOENT. > > > > Pass the expected type to drm_ras_node_get(), so a node of another > > type is not found, and drop the type checks of the telemetry handlers. > > > > Suggested-by: Riana Tauro <[email protected]> > > Acked-by: Zack McKevitt <[email protected]> > > Signed-off-by: Rodrigo Vivi <[email protected]> > > [Severity: Low] > Since commit c95c93b6e26c ("drm/drm_ras: Extend DRM RAS interface to > include telemetry nodes") allowed telemetry nodes in drm_ras_xa without > checking node->type in the error-counter handlers, should this include a > Fixes tag? > > Fixes: c95c93b6e26c ("drm/drm_ras: Extend DRM RAS interface to include > telemetry nodes") b4-shazam shall pick this directly, but anyway already added to my copy of the patches if I resend/respin is needed: https://github.com/rodrigovivi/linux/commits/xe-ras-retired-pages-v6 > > -- > Sashiko AI review ยท > https://sashiko.dev/#/patchset/[email protected]?part=1
