projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel-wide: replace USHORT_MAX, SHORT_MAX and SHORT_MIN with USHRT_MAX, SHRT_MAX...
[deliverable/linux.git]
/
net
/
dccp
/
options.c
diff --git
a/net/dccp/options.c
b/net/dccp/options.c
index 1b08cae9c65ba21fb1a28c255b810e868acc044a..07395f861d35aa819e154ebc66114472687e7a6a 100644
(file)
--- a/
net/dccp/options.c
+++ b/
net/dccp/options.c
@@
-296,7
+296,7
@@
static inline u8 dccp_ndp_len(const u64 ndp)
{
if (likely(ndp <= 0xFF))
return 1;
- return likely(ndp <= USH
O
RT_MAX) ? 2 : (ndp <= UINT_MAX ? 4 : 6);
+ return likely(ndp <= USHRT_MAX) ? 2 : (ndp <= UINT_MAX ? 4 : 6);
}
int dccp_insert_option(struct sock *sk, struct sk_buff *skb,
This page took
0.024605 seconds
and
5
git commands to generate.