projects
/
platform
/
kernel
/
linux-rpi3.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
|
history
diff --git
a/drivers/char/hw_random/core.c
b/drivers/char/hw_random/core.c
index
3aaf97c
..
349a3b8
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;
}