commit | c346fb74fb646352018800375c327ac35880b7e0 | [log] [tgz] |
---|---|---|
author | Pan Bian <bianpan2016@163.com> | Mon Apr 24 16:38:05 2017 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Apr 28 17:33:02 2017 -0400 |
tree | 4c73a29de803f0ddfeea5dda9909a7b6f86599fa | |
parent | 91faed9ee150fb07b5b0e6601b96219a6c74301f [diff] |
drm/radeon: check return value of radeon_ring_lock Function radeon_ring_lock() returns an errno on failure, and its return value should be validated. However, in functions r420_cp_errata_init() and r420_cp_errata_fini(), its return value is not checked. This patch adds the checks. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>