diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-06 15:31:02 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2018-08-08 11:23:27 -0700 |
commit | 17a4ed5545c5599852a5d75c5fb2c8e597943f99 (patch) | |
tree | d852233dfd7fd8de887eea7ee0afcd71bc61ebc6 /drivers/input/mouse/elantech.c | |
parent | 6cad4e269e25dddd7260a53e9d9d90ba3a3cc35a (diff) | |
download | linux-stable-17a4ed5545c5599852a5d75c5fb2c8e597943f99.tar.gz linux-stable-17a4ed5545c5599852a5d75c5fb2c8e597943f99.tar.bz2 linux-stable-17a4ed5545c5599852a5d75c5fb2c8e597943f99.zip |
Input: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Warning level 2 was used: -Wimplicit-fallthrough=2
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/elantech.c')
-rw-r--r-- | drivers/input/mouse/elantech.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index fb4d902c4403..d443067fc837 100644 --- a/drivers/input/mouse/elantech.c +++ b/drivers/input/mouse/elantech.c @@ -340,7 +340,7 @@ static void elantech_report_absolute_v2(struct psmouse *psmouse) */ if (packet[3] & 0x80) fingers = 4; - /* pass through... */ + /* fall through */ case 1: /* * byte 1: . . . . x11 x10 x9 x8 |