projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92e99a9
)
ehca: convert cpu notifier to return encapsulate errno value
author
Akinobu Mita
<
[email protected]
>
Wed, 26 May 2010 21:43:34 +0000
(14:43 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 27 May 2010 16:12:48 +0000
(09:12 -0700)
By the previous modification, the cpu notifier can return encapsulate
errno value. This converts the cpu notifiers for ehca.
Signed-off-by: Akinobu Mita <
[email protected]
>
Cc: Hoang-Nam Nguyen <
[email protected]
>
Cc: Christoph Raisch <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/infiniband/hw/ehca/ehca_irq.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/ehca/ehca_irq.c
b/drivers/infiniband/hw/ehca/ehca_irq.c
index 07cae552cafba60be9efb413b210d6e1ae767243..e571e60ecb880ca5f899d6b66466d9345f0dc9c4 100644
(file)
--- a/
drivers/infiniband/hw/ehca/ehca_irq.c
+++ b/
drivers/infiniband/hw/ehca/ehca_irq.c
@@
-847,7
+847,7
@@
static int __cpuinit comp_pool_callback(struct notifier_block *nfb,
ehca_gen_dbg("CPU: %x (CPU_PREPARE)", cpu);
if (!create_comp_task(pool, cpu)) {
ehca_gen_err("Can't create comp_task for cpu: %x", cpu);
- return
NOTIFY_BAD
;
+ return
notifier_from_errno(-ENOMEM)
;
}
break;
case CPU_UP_CANCELED: