diff options
author | Torsten Duwe <duwe@lst.de> | 2014-06-16 10:24:09 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-07-15 04:49:41 -0400 |
commit | 9dda727d37ff6ce1628dd2b8557ad011c49db377 (patch) | |
tree | 20af3337c2bbc664af468ad0518fec337a767e0b /drivers/char/hw_random | |
parent | ee3e00e9e7101c80a2ff2d5672d4b486bf001b88 (diff) |
hw_random: fix sparse warning (NULL vs 0 for pointer)
Signed-off-by: Torsten Duwe <duwe@suse.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r-- | drivers/char/hw_random/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c index 3aaf97c774f1..349a3b852be9 100644 --- a/drivers/char/hw_random/core.c +++ b/drivers/char/hw_random/core.c | |||
@@ -344,7 +344,7 @@ static int hwrng_fillfn(void *unused) | |||
344 | add_hwgenerator_randomness((void *)rng_fillbuf, rc, | 344 | add_hwgenerator_randomness((void *)rng_fillbuf, rc, |
345 | (rc*current_quality)>>10); | 345 | (rc*current_quality)>>10); |
346 | } | 346 | } |
347 | hwrng_fill = 0; | 347 | hwrng_fill = NULL; |
348 | return 0; | 348 | return 0; |
349 | } | 349 | } |
350 | 350 | ||