On Mon, Feb 16, 2026 at 12:17:28PM +0530, Riana Tauro wrote:
> Allocate correctable, uncorrectable nodes for every xe device. Each node
> contains error component, counters and respective query counter functions.
>
> Add basic functionality to create and register drm nodes.
...
> +static void cleanup_node_param(struct xe_drm_ras *ras, const enum
> drm_xe_ras_error_severity severity)
> +{
> + struct drm_ras_node *node = &ras->node[severity];
> +
> + kfree(node->device_name);
> + kfree(ras->info[severity]);
> +
> + node->device_name = NULL;
> + ras->info[severity] = NULL;
> +}
Nit: Unwind is usually in LIFO order, but this doesn't particularly look
harmful either. So upto you.
Raag