]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: mtd_nandecctest: use prandom_bytes instead of get_random_bytes()
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 20 Feb 2013 02:16:36 +0000 (13:16 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:59 +0000 (16:53 +1100)
commitaffc6e0443165c28553d62d105eaa9ffa9ec708d
treef2ed564a14e4d1fa3f05b699885d26334cd67b34
parent8a1222d2ae01b60d6bcc435926d2e49934e196de
mtd: mtd_nandecctest: use prandom_bytes instead of get_random_bytes()

Using prandom_bytes() is enough.  Because this data is only used
for testing, not used for cryptographic use.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Artem Bityutskiy <dedekind1@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Laight <david.laight@aculab.com>
Cc: Eilon Greenstein <eilong@broadcom.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Robert Love <robert.w.love@intel.com>
Cc: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/mtd/tests/mtd_nandecctest.c