diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-12 14:19:16 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-10-23 07:06:09 -0700 |
commit | 05b83605992b3d6cd53f8d339842a3b4530ab6e8 (patch) | |
tree | 5a00af928601fbf1cfc62348be889ad3e4594a1d /drivers/ata/sata_mv.c | |
parent | 14d7045c7f3b0a9d3b00274c23d7d516fc6d44d9 (diff) | |
download | talos-op-linux-05b83605992b3d6cd53f8d339842a3b4530ab6e8.tar.gz talos-op-linux-05b83605992b3d6cd53f8d339842a3b4530ab6e8.zip |
ata: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
In cases where a "drop through" comment was already in place, I replaced
it with a proper "fall through" comment, which is what GCC is expecting
to find.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/sata_mv.c')
-rw-r--r-- | drivers/ata/sata_mv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index dbb62b508213..cc208b72b199 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c @@ -2387,7 +2387,7 @@ static unsigned int mv_qc_issue(struct ata_queued_cmd *qc) ": attempting PIO w/multiple DRQ: " "this may fail due to h/w errata\n"); } - /* drop through */ + /* fall through */ case ATA_PROT_NODATA: case ATAPI_PROT_PIO: case ATAPI_PROT_NODATA: @@ -3875,7 +3875,7 @@ static int mv_chip_id(struct ata_host *host, unsigned int board_idx) " and avoid the final two gigabytes on" " all RocketRAID BIOS initialized drives.\n"); } - /* drop through */ + /* fall through */ case chip_6042: hpriv->ops = &mv6xxx_ops; hp_flags |= MV_HP_GEN_IIE; |