git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel/: convert cpu notifier to return encapsulate errno value
[pandora-kernel.git]
/
kernel
/
relay.c
diff --git
a/kernel/relay.c
b/kernel/relay.c
index
4268287
..
c7cf397
100644
(file)
--- a/
kernel/relay.c
+++ b/
kernel/relay.c
@@
-539,7
+539,7
@@
static int __cpuinit relay_hotcpu_callback(struct notifier_block *nb,
"relay_hotcpu_callback: cpu %d buffer "
"creation failed\n", hotcpu);
mutex_unlock(&relay_channels_mutex);
- return
NOTIFY_BAD
;
+ return
notifier_from_errno(-ENOMEM)
;
}
}
mutex_unlock(&relay_channels_mutex);