]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdkfd: Fix Unchecked Return Values
authorSunday Clement <Sunday.Clement@amd.com>
Mon, 27 Oct 2025 18:00:59 +0000 (14:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Nov 2025 16:53:05 +0000 (11:53 -0500)
commitff7644faf3529d186861b02957bf9c6b2fceb4c0
treee3a21df84d502098ed0d6a704ad9781e65ce30a7
parent72b0b75d608b54f7bb94ee12737c4a62d95bce4a
drm/amdkfd: Fix Unchecked Return Values

Properly Check for return values from calls to debug functions in
runtime_disable().

v2: storing the last non zero returned value from the loop.

Signed-off-by: Sunday Clement <Sunday.Clement@amd.com>
Reviewed-by: Jonathan Kim <Jonathan.Kim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c