Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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++;