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 | |
parent | ee3e00e9e7101c80a2ff2d5672d4b486bf001b88 (diff) | |
download | op-kernel-dev-9dda727d37ff6ce1628dd2b8557ad011c49db377.zip op-kernel-dev-9dda727d37ff6ce1628dd2b8557ad011c49db377.tar.gz |
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 3aaf97c..349a3b8 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; } |