• Gustavo A. R. Silva's avatar
    tipc: mark expected switch fall-throughs · f79e3365
    Gustavo A. R. Silva authored
    In preparation to enabling -Wimplicit-fallthrough, mark switch cases
    where we are expecting to fall through.
    
    This patch fixes the following warnings:
    
    net/tipc/link.c:1125:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
    net/tipc/socket.c:736:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
    net/tipc/socket.c:2418:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    
    Warning level 3 was used: -Wimplicit-fallthrough=3
    
    This patch is part of the ongoing efforts to enabling
    -Wimplicit-fallthrough.
    Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f79e3365
link.c 64.7 KB