Commit aa1f0fa374ed23528b915a693a11b0f275a299c0

Authored by Gustavo A. R. Silva
Committed by Greg Kroah-Hartman
1 parent 885b3680c4

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/parport/parport_pc.c
... ... @@ -1667,7 +1667,7 @@
1667 1667 default:
1668 1668 printk(KERN_WARNING "0x%lx: Unknown implementation ID\n",
1669 1669 pb->base);
1670   - /* Assume 1 */
  1670 + /* Fall through - Assume 1 */
1671 1671 case 1:
1672 1672 pword = 1;
1673 1673 }