Skip to content
Snippets Groups Projects
Commit 9dda727d authored by Torsten Duwe's avatar Torsten Duwe Committed by Theodore Ts'o
Browse files

hw_random: fix sparse warning (NULL vs 0 for pointer)


Signed-off-by: default avatarTorsten Duwe <duwe@suse.de>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent ee3e00e9
No related branches found
No related tags found
No related merge requests found
...@@ -344,7 +344,7 @@ static int hwrng_fillfn(void *unused) ...@@ -344,7 +344,7 @@ static int hwrng_fillfn(void *unused)
add_hwgenerator_randomness((void *)rng_fillbuf, rc, add_hwgenerator_randomness((void *)rng_fillbuf, rc,
(rc*current_quality)>>10); (rc*current_quality)>>10);
} }
hwrng_fill = 0; hwrng_fill = NULL;
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment