staging: vt6656: card: mark expected switch fall-throughs
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 12 Oct 2017 16:16:52 +0000 (11:16 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 14:21:26 +0000 (16:21 +0200)
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/card.c

index c61422e..4fd9cd6 100644 (file)
@@ -382,11 +382,13 @@ void vnt_update_ifs(struct vnt_private *priv)
                        priv->difs -= 1;
                        break;
                }
+               /* fall through */
        case RF_AIROHA7230:
        case RF_AL2230:
        case RF_AL2230S:
                if (priv->bb_type != BB_TYPE_11B)
                        break;
+               /* fall through */
        case RF_RFMD2959:
        case RF_VT3226:
        case RF_VT3342A0: