X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/27c303501e47f15ba64569c28b1a1a125ba1714b..0bc848a5da9a8b1cbb5e2760eaec0dedaa70c713:/target/linux/generic-2.6/patches-2.6.30/973-ocf_2.6.27_fix.patch diff --git a/target/linux/generic-2.6/patches-2.6.30/973-ocf_2.6.27_fix.patch b/target/linux/generic-2.6/patches-2.6.30/973-ocf_2.6.27_fix.patch index 6ffce01a2..ecb9bef51 100644 --- a/target/linux/generic-2.6/patches-2.6.30/973-ocf_2.6.27_fix.patch +++ b/target/linux/generic-2.6/patches-2.6.30/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);