Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Kernel bump from 4.1.3-rt to 4.1.7-rt.
[kvmfornfv.git]
/
kernel
/
drivers
/
char
/
hw_random
/
core.c
diff --git
a/kernel/drivers/char/hw_random/core.c
b/kernel/drivers/char/hw_random/core.c
index
da8faf7
..
5643b65
100644
(file)
--- a/
kernel/drivers/char/hw_random/core.c
+++ b/
kernel/drivers/char/hw_random/core.c
@@
-429,7
+429,7
@@
static int hwrng_fillfn(void *unused)
static void start_khwrngd(void)
{
hwrng_fill = kthread_run(hwrng_fillfn, NULL, "hwrng");
static void start_khwrngd(void)
{
hwrng_fill = kthread_run(hwrng_fillfn, NULL, "hwrng");
- if (
hwrng_fill == ERR_PTR(-ENOMEM
)) {
+ if (
IS_ERR(hwrng_fill
)) {
pr_err("hwrng_fill thread creation failed");
hwrng_fill = NULL;
}
pr_err("hwrng_fill thread creation failed");
hwrng_fill = NULL;
}