Commit c767d74a authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/userq: fix error handling of invalid doorbell



If the doorbell is invalid, be sure to set the r to an error
state so the function returns an error.

Reviewed-by: default avatarDavid (Ming Qiang) Wu <David.Wu3@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 7e2a5b0a)
Cc: stable@vger.kernel.org
parent ee38ea0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment