提交 02784f1b 编写于 作者: D David S. Miller

tipc: Fix build.

Missing semicolon in range check fix.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d3b6f9ff
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册