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

Commit be9fa5a4 authored by Dan Williams's avatar Dan Williams
Browse files

dmatest: use pseudo random numbers



There is no need for dmatest to drain the entropy pool.

It would be nice to one day have repeatable runs, but would need a
larger rework to synchronize and order calls to the rng across test
threads.

Acked-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent a9e55495
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -176,7 +176,7 @@ static unsigned long dmatest_random(void)
{
	unsigned long buf;

	get_random_bytes(&buf, sizeof(buf));
	prandom_bytes(&buf, sizeof(buf));
	return buf;
}