summaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-11-25 21:48:45 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-27 08:31:27 +0100
commitaa1f0fa374ed23528b915a693a11b0f275a299c0 (patch)
treecea0901dce478941f8ba70f6b338f45448cf8b19 /drivers/parport
parent885b3680c4a6c052da937770652aec81f8e5590b (diff)
downloadlinux-aa1f0fa374ed23528b915a693a11b0f275a299c0.tar.gz
linux-aa1f0fa374ed23528b915a693a11b0f275a299c0.tar.bz2
linux-aa1f0fa374ed23528b915a693a11b0f275a299c0.zip
parport: parport_pc: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 114730 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/parport')
-rw-r--r--drivers/parport/parport_pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c
index 380916bff9e0..9c8249f74479 100644
--- a/drivers/parport/parport_pc.c
+++ b/drivers/parport/parport_pc.c
@@ -1667,7 +1667,7 @@ static int parport_ECP_supported(struct parport *pb)
default:
printk(KERN_WARNING "0x%lx: Unknown implementation ID\n",
pb->base);
- /* Assume 1 */
+ /* Fall through - Assume 1 */
case 1:
pword = 1;
}