Commit 38a04b83 authored by Philippe Mazenauer's avatar Philippe Mazenauer Committed by David S. Miller

lib: Correct comment of prandom_seed

Variable 'entropy' was wrongly documented as 'seed', changed comment to
reflect actual variable name.

../lib/random32.c:179: warning: Function parameter or member 'entropy' not described in 'prandom_seed'
../lib/random32.c:179: warning: Excess function parameter 'seed' description in 'prandom_seed'
Signed-off-by: default avatarPhilippe Mazenauer <philippe.mazenauer@outlook.de>
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 34dcf6a1
...@@ -171,9 +171,9 @@ static void prandom_seed_early(struct rnd_state *state, u32 seed, ...@@ -171,9 +171,9 @@ static void prandom_seed_early(struct rnd_state *state, u32 seed,
/** /**
* prandom_seed - add entropy to pseudo random number generator * prandom_seed - add entropy to pseudo random number generator
* @seed: seed value * @entropy: entropy value
* *
* Add some additional seeding to the prandom pool. * Add some additional entropy to the prandom pool.
*/ */
void prandom_seed(u32 entropy) void prandom_seed(u32 entropy)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment