[PATCH] mtd stresstest: Fix random number generation
Artem Bityutskiy
artem.bityutskiy at linux.intel.com
Fri May 25 10:57:15 EDT 2012
On Fri, 2012-05-25 at 15:58 +0200, Sascha Hauer wrote:
> the random number generation in the mtd stresstest was changed from a
> homebrew generator to random32. random32 generates unsigned random
> numbers, but the values are assigned to signed integers. This results
> in negative offsets, eraseblocks and writesized. Fix it by using unsigned
> integers for these variables instead.
Pushed to l2-mtd.git, thanks!
--
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120525/24f66186/attachment.sig>
More information about the linux-mtd
mailing list