diff options
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.28/973-ocf_2.6.27_fix.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.28/973-ocf_2.6.27_fix.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.28/973-ocf_2.6.27_fix.patch b/target/linux/generic-2.6/patches-2.6.28/973-ocf_2.6.27_fix.patch index 6ffce01..ecb9bef 100644 --- a/target/linux/generic-2.6/patches-2.6.28/973-ocf_2.6.27_fix.patch +++ b/target/linux/generic-2.6/patches-2.6.28/973-ocf_2.6.27_fix.patch @@ -28,10 +28,10 @@ + + t = kthread_create(random_proc, NULL, "ocf-random"); + if (IS_ERR(t)) { ++ ret = PTR_ERR(t); printk("crypto: crypto_rregister cannot start random thread; " "error %d", ret); - } else -+ ret = PTR_ERR(t); + } else { + random_task = t; + wake_up_process(t); |