Commit 02784f1b authored by David S. Miller's avatar David S. Miller

tipc: Fix build.

Missing semicolon in range check fix.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d3b6f9ff
...@@ -182,8 +182,9 @@ static inline int tipc_port_importance(struct tipc_port *port) ...@@ -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) static inline int tipc_port_set_importance(struct tipc_port *port, int imp)
{ {
if (imp > TIPC_CRITICAL_IMPORTANCE) if (imp > TIPC_CRITICAL_IMPORTANCE)
return -EINVAL return -EINVAL;
msg_set_importance(&port->phdr, (u32)imp); msg_set_importance(&port->phdr, (u32)imp);
return 0;
} }
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment