diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-08-21 01:29:47 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-08-27 16:06:29 +0300 |
commit | f7bba4d94d539f96bfe5e9a27d4608da4d3c402f (patch) | |
tree | 46f0d27dff0f56c7f0f4fbff8d0ca1a6b638e41a /drivers/net/wireless/intersil/prism54/isl_ioctl.c | |
parent | 74aad39490a7a63f634750744a7ff49c9eaddb0e (diff) |
prism54: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1].
[1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200821062947.GA10202@embeddedor
Diffstat (limited to 'drivers/net/wireless/intersil/prism54/isl_ioctl.c')
-rw-r--r-- | drivers/net/wireless/intersil/prism54/isl_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intersil/prism54/isl_ioctl.c b/drivers/net/wireless/intersil/prism54/isl_ioctl.c index 3ccf2a4b548c..9192c5a3923e 100644 --- a/drivers/net/wireless/intersil/prism54/isl_ioctl.c +++ b/drivers/net/wireless/intersil/prism54/isl_ioctl.c @@ -1691,7 +1691,7 @@ static int prism54_get_encodeext(struct net_device *ndev, case DOT11_AUTH_BOTH: case DOT11_AUTH_SK: wrqu->encoding.flags |= IW_ENCODE_RESTRICTED; - /* fall through */ + fallthrough; case DOT11_AUTH_OS: default: wrqu->encoding.flags |= IW_ENCODE_OPEN; |