mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 03:04:01 +08:00
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>
This commit is contained in:
parent
885b3680c4
commit
aa1f0fa374
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user