aboutsummaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2014-04-03 14:49:08 -0700
committerMoyster <oysterized@gmail.com>2016-09-10 12:06:45 +0200
commit319b110b2f6903fba6716dffe2b7be33aa9d0130 (patch)
treea539c62d5b0470a0d57265f9d40db040ccab265a /android
parentba363b525a0c9c8e3ba8a35df38e8d645212eda4 (diff)
lib/random32.c: minor cleanups and kdoc fix
These are just some very minor and misc cleanups in the PRNG. In prandom_u32() we store the result in an unsigned long which is unnecessary as it should be u32 instead that we get from prandom_u32_state(). prandom_bytes_state()'s comment is in kdoc format, so change it into such as it's done everywhere else. Also, use the normal comment style for the header comment. Last but not least for readability, add some newlines. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'android')
0 files changed, 0 insertions, 0 deletions