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
Merge branch 'stable-3.2' into pandora-3.2
[pandora-kernel.git]
/
kernel
/
relay.c
diff --git
a/kernel/relay.c
b/kernel/relay.c
index
e8cd202
..
bf8df08
100644
(file)
--- a/
kernel/relay.c
+++ b/
kernel/relay.c
@@
-166,7
+166,7
@@
static struct rchan_buf *relay_create_buf(struct rchan *chan)
{
struct rchan_buf *buf;
- if (chan->n_subbufs >
UINT_MAX
/ sizeof(size_t *))
+ if (chan->n_subbufs >
KMALLOC_MAX_SIZE
/ sizeof(size_t *))
return NULL;
buf = kzalloc(sizeof(struct rchan_buf), GFP_KERNEL);