commit | fe6b2ad91fd3578d69ef07f0ba35a28c002034b6 | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Mon Jan 25 13:01:42 2016 +0100 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Feb 10 14:17:03 2016 -0500 |
tree | 9ae3a6c2b7310e19519f59ce63101e789083c8e5 | |
parent | 777dbd458c89d4ca74a659f85ffb5bc817f29a35 [diff] |
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>