tipc: Fix build.
authorDavid S. Miller <davem@davemloft.net>
Tue, 19 Aug 2014 18:14:02 +0000 (11:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Aug 2014 18:16:38 +0000 (11:16 -0700)
Missing semicolon in range check fix.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/port.h

index a69118ff018b4a701294768bfba4e1ea8be78c01..3087da39ee47b2acf4f1d5b20babfb15a308d0be 100644 (file)
@@ -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