projects
/
firefly-linux-kernel-4.4.55.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 a69118ff018b4a701294768bfba4e1ea8be78c01..3087da39ee47b2acf4f1d5b20babfb15a308d0be 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