projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9e5549
)
dmatest: use pseudo random numbers
author
Dan Williams
<dan.j.williams@intel.com>
Thu, 7 Nov 2013 00:30:03 +0000
(16:30 -0800)
committer
Dan Williams
<dan.j.williams@intel.com>
Thu, 14 Nov 2013 19:04:40 +0000
(11:04 -0800)
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dmatest.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/dmatest.c
b/drivers/dma/dmatest.c
index ea829659149ab351bd1979ada8f5100d0e8dd101..01ac7112b5fd74982e342b5188953e4de7bb1869 100644
(file)
--- a/
drivers/dma/dmatest.c
+++ b/
drivers/dma/dmatest.c
@@
-176,7
+176,7
@@
static unsigned long dmatest_random(void)
{
unsigned long buf;
-
get_
random_bytes(&buf, sizeof(buf));
+
p
random_bytes(&buf, sizeof(buf));
return buf;
}