From: David S. Miller Date: Tue, 19 Aug 2014 18:14:02 +0000 (-0700) Subject: tipc: Fix build. X-Git-Tag: v3.17-rc2~13^2~20 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=02784f1b05b8f241c8180af88869e717e2758593;p=linux-2.6-block.git tipc: Fix build. Missing semicolon in range check fix. Signed-off-by: David S. Miller --- diff --git a/net/tipc/port.h b/net/tipc/port.h index a69118ff018b..3087da39ee47 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