diff options
| author | Pan Bian <[email protected]> | 2017-04-24 16:38:05 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-04-28 17:33:02 -0400 |
| commit | c346fb74fb646352018800375c327ac35880b7e0 (patch) | |
| tree | 4c73a29de803f0ddfeea5dda9909a7b6f86599fa /tools/lib/api/debug.c | |
| 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 <[email protected]>
Signed-off-by: Pan Bian <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions