mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +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
27e9ae2cc7
commit
5afcc6e08a
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,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 a new issue