]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitebcac6ae2bf2673efb25254671eb10abb46bde7f
tree00e9af86c52562c3c99b2b48a256098033549eda
parent7698bff6c4b60d6669ebc730c60329b8f5fe7573
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