Christian König fe6b2ad91f 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>
2016-02-10 14:17:03 -05:00
..
2015-06-03 21:03:15 -04:00
2015-12-08 11:04:26 +10:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2016-02-10 14:16:59 -05:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:17 -04:00
2016-01-11 09:52:57 -05:00
2016-02-10 14:16:58 -05:00
2016-01-11 09:52:57 -05:00
2015-10-21 12:19:46 -04:00
2015-06-03 21:03:17 -04:00
2016-02-10 14:16:58 -05:00
2016-02-10 14:16:58 -05:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:13 -04:00
2016-01-15 12:43:11 -05:00
2016-01-11 09:52:57 -05:00
2016-02-10 14:16:58 -05:00
2016-02-10 14:16:58 -05:00
2016-02-10 14:16:58 -05:00