Skip to content

Commit

Permalink
tipc: Fix build.
Browse files Browse the repository at this point in the history
Missing semicolon in range check fix.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Aug 19, 2014
1 parent d3b6f9f commit 02784f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/tipc/port.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 02784f1

Please sign in to comment.