staging: rtlwifi: halmac: mark expected switch fall-through
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 12 Oct 2017 16:17:15 +0000 (11:17 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 13:53:50 +0000 (15:53 +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/rtlwifi/halmac/rtl_halmac.c

index 6448a8bfc14b71f5b674a38ecebf6d3d26900b2b..66f0a6dfc52c5378efb84b0d7614b6fa1a229209 100644 (file)
@@ -617,7 +617,7 @@ static int _send_general_info(struct rtl_priv *rtlpriv)
                RT_TRACE(rtlpriv, COMP_HALMAC, DBG_WARNING,
                         "%s: halmac_send_general_info() fail because fw not dl!\n",
                         __func__);
-       /* fallthrough here */
+       /* fall through */
        default:
                return -1;
        }