OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3b6f9f
)
tipc: Fix build.
author
David S. Miller
<davem@davemloft.net>
Tue, 19 Aug 2014 18:14:02 +0000
(11:14 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 19 Aug 2014 18:16:38 +0000
(11:16 -0700)
Missing semicolon in range check fix.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/port.h
patch
|
blob
|
history
diff --git
a/net/tipc/port.h
b/net/tipc/port.h
index
a69118f
..
3087da3
100644
(file)
--- a/
net/tipc/port.h
+++ b/
net/tipc/port.h
@@
-182,8
+182,9
@@
static inline int tipc_port_importance(struct tipc_port *port)
static inline int tipc_port_set_importance(struct tipc_port *port, int imp)
{
if (imp > TIPC_CRITICAL_IMPORTANCE)
- return -EINVAL
+ return -EINVAL
;
msg_set_importance(&port->phdr, (u32)imp);
+ return 0;
}
#endif