]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: mixart: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 8 Aug 2018 22:11:48 +0000 (17:11 -0500)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Aug 2018 06:52:04 +0000 (08:52 +0200)
commit725097323bbcbbca51ede20b542c6229a2869445
tree6152257d6e732702a27194fc5383b81693e0666a
parent0c93c5ce107659069d16fa34ddce465acdf9d996
ALSA: mixart: Mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Notice that in this particular case, I replaced the code comment with
a proper "fall through" annotation, which is what GCC is expecting
to find.

Addresses-Coverity-ID: 114889 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/mixart/mixart_core.c