projects
/
openwrt
/
staging
/
florian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8aa2f58
)
ocf: fix uninitialized variable access (thx, Dakon)
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 1 Jun 2009 22:14:01 +0000
(22:14 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 1 Jun 2009 22:14:01 +0000
(22:14 +0000)
SVN-Revision: 16285
target/linux/generic-2.6/patches-2.6.27/973-ocf_2.6.27_fix.patch
patch
|
blob
|
history
target/linux/generic-2.6/patches-2.6.28/973-ocf_2.6.27_fix.patch
patch
|
blob
|
history
target/linux/generic-2.6/patches-2.6.29/973-ocf_2.6.27_fix.patch
patch
|
blob
|
history
target/linux/generic-2.6/patches-2.6.30/973-ocf_2.6.27_fix.patch
patch
|
blob
|
history
diff --git
a/target/linux/generic-2.6/patches-2.6.27/973-ocf_2.6.27_fix.patch
b/target/linux/generic-2.6/patches-2.6.27/973-ocf_2.6.27_fix.patch
index 6ffce01a280e893346e771a328e707c581df9781..ecb9bef51315daf64ae57d788d6a67e99c65e3b8 100644
(file)
--- a/
target/linux/generic-2.6/patches-2.6.27/973-ocf_2.6.27_fix.patch
+++ b/
target/linux/generic-2.6/patches-2.6.27/973-ocf_2.6.27_fix.patch
@@
-28,10
+28,10
@@
+
+ t = kthread_create(random_proc, NULL, "ocf-random");
+ if (IS_ERR(t)) {
+
+ 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
printk("crypto: crypto_rregister cannot start random thread; "
"error %d", ret);
- } else
-+ ret = PTR_ERR(t);
+ } else {
+ random_task = t;
+ wake_up_process(t);
+ } else {
+ random_task = t;
+ wake_up_process(t);
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 6ffce01a280e893346e771a328e707c581df9781..ecb9bef51315daf64ae57d788d6a67e99c65e3b8 100644
(file)
--- 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)) {
+
+ 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
printk("crypto: crypto_rregister cannot start random thread; "
"error %d", ret);
- } else
-+ ret = PTR_ERR(t);
+ } else {
+ random_task = t;
+ wake_up_process(t);
+ } else {
+ random_task = t;
+ wake_up_process(t);
diff --git
a/target/linux/generic-2.6/patches-2.6.29/973-ocf_2.6.27_fix.patch
b/target/linux/generic-2.6/patches-2.6.29/973-ocf_2.6.27_fix.patch
index 6ffce01a280e893346e771a328e707c581df9781..ecb9bef51315daf64ae57d788d6a67e99c65e3b8 100644
(file)
--- a/
target/linux/generic-2.6/patches-2.6.29/973-ocf_2.6.27_fix.patch
+++ b/
target/linux/generic-2.6/patches-2.6.29/973-ocf_2.6.27_fix.patch
@@
-28,10
+28,10
@@
+
+ t = kthread_create(random_proc, NULL, "ocf-random");
+ if (IS_ERR(t)) {
+
+ 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
printk("crypto: crypto_rregister cannot start random thread; "
"error %d", ret);
- } else
-+ ret = PTR_ERR(t);
+ } else {
+ random_task = t;
+ wake_up_process(t);
+ } else {
+ random_task = t;
+ wake_up_process(t);
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 6ffce01a280e893346e771a328e707c581df9781..ecb9bef51315daf64ae57d788d6a67e99c65e3b8 100644
(file)
--- 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)) {
+
+ 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
printk("crypto: crypto_rregister cannot start random thread; "
"error %d", ret);
- } else
-+ ret = PTR_ERR(t);
+ } else {
+ random_task = t;
+ wake_up_process(t);
+ } else {
+ random_task = t;
+ wake_up_process(t);