Re: [PATCH akpm-next] random32: minor cleanups and kdoc fix

2014-02-12 Thread Joe Perches
On Wed, 2014-02-12 at 23:43 +0100, Daniel Borkmann wrote: > These are just some very minor and misc cleanups in the PRNG. trivia: > diff --git a/lib/random32.c b/lib/random32.c [] > @@ -30,7 +30,6 @@ > > This affects the seeding procedure by imposing the requirement > s1 > 1, s2 > 7, s3

[PATCH akpm-next] random32: minor cleanups and kdoc fix

2014-02-12 Thread Daniel Borkmann
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 everyw