projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee3e00e
)
hw_random: fix sparse warning (NULL vs 0 for pointer)
author
Torsten Duwe
<duwe@lst.de>
Mon, 16 Jun 2014 14:24:09 +0000
(10:24 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 15 Jul 2014 08:49:41 +0000
(
04:49
-0400)
Signed-off-by: Torsten Duwe <duwe@suse.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
drivers/char/hw_random/core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/hw_random/core.c
b/drivers/char/hw_random/core.c
index 3aaf97c774f179cd48d8a2573a64a4887857638a..349a3b852be991eeec75c147d8ed8d1ef7e66f5a 100644
(file)
--- a/
drivers/char/hw_random/core.c
+++ b/
drivers/char/hw_random/core.c
@@
-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;
}