1
0
Fork 0

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>
hifive-unleashed-5.1
Torsten Duwe 2014-06-16 10:24:09 -04:00 committed by Theodore Ts'o
parent ee3e00e9e7
commit 9dda727d37
1 changed files with 1 additions and 1 deletions

View File

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