mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +00:00
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>
This commit is contained in:
parent
ee3e00e9e7
commit
9dda727d37
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user