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 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt...
[pandora-kernel.git]
/
ipc
/
util.c
diff --git
a/ipc/util.c
b/ipc/util.c
index
79ce84e
..
69a0cc1
100644
(file)
--- a/
ipc/util.c
+++ b/
ipc/util.c
@@
-124,8
+124,8
@@
void ipc_init_ids(struct ipc_ids *ids)
ids->seq = 0;
{
int seq_limit = INT_MAX/SEQ_MULTIPLIER;
ids->seq = 0;
{
int seq_limit = INT_MAX/SEQ_MULTIPLIER;
- if (seq_limit > USH
O
RT_MAX)
- ids->seq_max = USH
O
RT_MAX;
+ if (seq_limit > USHRT_MAX)
+ ids->seq_max = USHRT_MAX;
else
ids->seq_max = seq_limit;
}
else
ids->seq_max = seq_limit;
}