mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
drm/nouveau: populate ttm_alloced with false, when it's not
Caught with kmemcheck on unrelated business. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
01d153326e
commit
8706398bf8
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ nouveau_sgdma_populate(struct ttm_backend *be, unsigned long num_pages,
|
|||
be->func->clear(be);
|
||||
return -EFAULT;
|
||||
}
|
||||
nvbe->ttm_alloced[nvbe->nr_pages] = false;
|
||||
}
|
||||
|
||||
nvbe->nr_pages++;
|
||||
|
|
Loading…
Reference in a new issue