diff options
author | Torsten Duwe <duwe@lst.de> | 2014-06-16 18:24:09 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-07-15 12:49:41 +0400 |
commit | 9dda727d37ff6ce1628dd2b8557ad011c49db377 (patch) | |
tree | 20af3337c2bbc664af468ad0518fec337a767e0b /drivers/char | |
parent | ee3e00e9e7101c80a2ff2d5672d4b486bf001b88 (diff) | |
download | linux-9dda727d37ff6ce1628dd2b8557ad011c49db377.tar.xz |
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')
-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) add_hwgenerator_randomness((void *)rng_fillbuf, rc, (rc*current_quality)>>10); } - hwrng_fill = 0; + hwrng_fill = NULL; return 0; } |