drm/amd/ras: use IS_ERR() to check thread creation result

Use IS_ERR() to check thread creation result.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
YiPeng Chai 2026-06-16 16:24:13 +08:00 • committed by Alex Deucher
commit d73289a64e