mtd: tests: use random32 instead of home-brewed generator
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 18 May 2012 15:44:53 +0000 (18:44 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Jul 2012 17:17:04 +0000 (18:17 +0100)
commitbfea1d4ee53c4628a7bbdcfe3b026f8ce4032a1c
tree00e9af86c52562c3c99b2b48a256098033549eda
parent3166df0d0424ef5c742faba87775cfca99e8f2bf
mtd: tests: use random32 instead of home-brewed generator

This is a clean-up patch which removes the own pseudo-random numbers generator
from the speed- and stress-tests and makes them use the 'random32()' generator
instead.

[dwmw2: Merge later fix for negative offsets]

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/tests/mtd_speedtest.c
drivers/mtd/tests/mtd_stresstest.c