diff options
author | David S. Miller <davem@davemloft.net> | 2014-08-19 11:14:02 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-19 11:16:38 -0700 |
commit | 02784f1b05b8f241c8180af88869e717e2758593 (patch) | |
tree | f24d8fc4af6cbc8729a561fa0859887961924821 | |
parent | d3b6f9ffca9598381f63119f1cce77508fd37f64 (diff) | |
download | op-kernel-dev-02784f1b05b8f241c8180af88869e717e2758593.zip op-kernel-dev-02784f1b05b8f241c8180af88869e717e2758593.tar.gz |
tipc: Fix build.
Missing semicolon in range check fix.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/tipc/port.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tipc/port.h b/net/tipc/port.h index a69118f..3087da3 100644 --- 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 |