]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: Use fallthrough pseudo-keyword
authorGustavo A. R. Silva <gustavoars@kernel.org>
Thu, 8 Oct 2020 22:09:05 +0000 (17:09 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 7 Nov 2020 11:30:54 +0000 (13:30 +0200)
commitff23b2d7cfb00a11f3c02b989f76a278b16b0989
treef5ceb8a4d731be0b0b6add0e35fd8ae047419b9f
parent24acbc44439bced7b4d9400e3dfbe24ab1fd964b
wlcore: Use fallthrough pseudo-keyword

In order to enable -Wimplicit-fallthrough for Clang[1], replace the
existing /* fall-through */ comments with the new pseudo-keyword
macro fallthrough[2].

[1] https://git.kernel.org/linus/02fc5406052d3ac8bbbff9c4ffe339244af7cc2c
[2] 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/20201008220905.GA8040@embeddedor
drivers/net/wireless/ti/wlcore/main.c