mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02: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
|
|
@ -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 New Issue
Block a user