]> git.baikalelectronics.ru Git - kernel.git/commit
Input: libps2 - fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Mon, 23 Nov 2020 06:15:43 +0000 (22:15 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Nov 2020 06:16:23 +0000 (22:16 -0800)
commitf7bda6662fd4f39113b4dee00f7ded44f846b7f4
tree6d07c7dce21a94664dbc9ed702c05f8f9faa38e6
parente9a710bc8d90cc8044b4082c2919b0663043c7ed
Input: libps2 - fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a
warning by replacing a /* Fall through */ comment with the new
pseudo-keyword macro fallthrough.

Notice that Clang doesn't recognize /* Fall through */ comments as
implicit fall-through markings.

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/d2944854e3e118b837755abf4cbdb497662001b7.1605896060.git.gustavoars@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/libps2.c