summaryrefslogtreecommitdiffstats
path: root/lib/lzo
diff options
context:
space:
mode:
authorDaniel Borkmann2014-04-03 23:49:08 +0200
committerLinus Torvalds2014-04-04 01:21:11 +0200
commitd3d47eb265c2bc6f4a6f1bc6971b84d27035b964 (patch)
treed5947fe6955bff2468e1e950673ae69af2d681df /lib/lzo
parentlib/devres.c: fix some sparse warnings (diff)
downloadkernel-qcow2-linux-d3d47eb265c2bc6f4a6f1bc6971b84d27035b964.tar.gz
kernel-qcow2-linux-d3d47eb265c2bc6f4a6f1bc6971b84d27035b964.tar.xz
kernel-qcow2-linux-d3d47eb265c2bc6f4a6f1bc6971b84d27035b964.zip
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 'lib/lzo')
0 files changed, 0 insertions, 0 deletions