Skip to content
Commit b8be9e19 authored by Christian König's avatar Christian König
Browse files

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: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarThomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210607171152.15914-1-christian.koenig@amd.com
parent 24994b91
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment