diff options
author | 2016-01-25 13:01:42 +0100 | |
---|---|---|
committer | 2016-02-10 14:17:03 -0500 | |
commit | fe6b2ad91fd3578d69ef07f0ba35a28c002034b6 (patch) | |
tree | 9ae3a6c2b7310e19519f59ce63101e789083c8e5 /drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h | |
parent | drm/amdgpu: drop a dummy wakeup scheduler (diff) | |
download | wireguard-linux-fe6b2ad91fd3578d69ef07f0ba35a28c002034b6.tar.xz wireguard-linux-fe6b2ad91fd3578d69ef07f0ba35a28c002034b6.zip |
drm/amdgpu: use WARN_ON_ONCE instead of BUG_ON in the SA
Crashing the system doesn't helps at all. Also properly return
-EINVAL if size or alignment are outside valid ranges.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h')
0 files changed, 0 insertions, 0 deletions