diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-08-06 18:05:18 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-08-06 16:12:23 -0400 |
commit | 420c81c84b596984e0afb6e8b884dc67ddfa13f6 (patch) | |
tree | 816bca63c15160630c010a96caa1c35b6cc18b7b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1b41d67ec9612b30aaa2ef3848d86a708eceb2cf (diff) |
drm/amdgpu: check for allocation failure in amdgpu_vkms_sw_init()
Check whether the kcalloc() fails and return -ENOMEM if it does.
Fixes: 84ec374bd58036 ("drm/amdgpu: create amdgpu_vkms (v4)")
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions