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>


Author Sunday Clement Committer Alex Deucher Date Commit Parent cbf3a5d6
+2 -5
1 changed file
+2 -5
1 changed file