summaryrefslogtreecommitdiff
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorSunday Clement <Sunday.Clement@amd.com>2025-05-30 10:58:08 -0400
committerAlex Deucher <alexander.deucher@amd.com>2025-08-27 13:57:48 -0400
commit7bbfa1b1fa7b91cb805563ebffd1d55df192df05 (patch)
tree796888ad98d1572920827373c496036add7d17d4 /rust/helpers/xarray.c
parentcbf3a5d67a5bcae620b5315e4891f8c3e939bc79 (diff)
drm/amdkfd: Allow device error to be logged
The addition of a WARN_ON() check in order to return early in the kq_initialize function retroactively causes the default case in the following switch statement to never be executed, preventing dev_err from logging device errors in the kernel. Both logs are now checked in the default case. Signed-off-by: Sunday Clement <Sunday.Clement@amd.com> Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions