Commit 8706398b authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau: populate ttm_alloced with false, when it's not

Caught with kmemcheck on unrelated business.
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 01d15332
......@@ -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++;
......
Markdown is supported
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