diff options
author | Christian König <christian.koenig@amd.com> | 2021-06-07 19:10:45 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-06-07 19:54:46 +0200 |
commit | b8be9e19f4658c28f3e4971adbe233f17f8714aa (patch) | |
tree | f09409b82fc7fbc0c0ca9a61a7db7b63a16089ba /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 24994b91ecc57602d1084d243cd89752dda7865c (diff) |
drm/ttm: fix access to uninitialized variable.
The resource is not allocated yet, so no chance that this will work.
Use the placement instead.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210607171152.15914-1-christian.koenig@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions