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 a69118f..3087da3 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