Commit 9dda727d authored by Torsten Duwe's avatar Torsten Duwe Committed by Theodore Ts'o

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
......@@ -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;
}
......
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