diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-10-03 01:48:52 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-03 02:51:30 +0300 |
commit | 5029a0486eb4a9521e4da0db2a3824d5b63834bc (patch) | |
tree | 05b804f694a8c8a5bcb62a7a940b78eca59a2071 /drivers/ata/pata_cmd64x.c | |
parent | 564a7eed3f349f3cff412759c8bf7f8e77edb3c9 (diff) | |
download | linux-5029a0486eb4a9521e4da0db2a3824d5b63834bc.tar.xz |
pata_cmd64x: Use fallthrough pseudo-keyword
Replace /* FALL THRU */ comment with the new pseudo-keyword macro
fallthrough[1].
[1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata/pata_cmd64x.c')
-rw-r--r-- | drivers/ata/pata_cmd64x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_cmd64x.c b/drivers/ata/pata_cmd64x.c index 3134eaec9e3d..1d74d89b5bed 100644 --- a/drivers/ata/pata_cmd64x.c +++ b/drivers/ata/pata_cmd64x.c @@ -461,7 +461,7 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) case 1: ppi[0] = &cmd_info[4]; ppi[1] = &cmd_info[4]; - /* FALL THRU */ + fallthrough; /* Early revs have no CNTRL_CH0 */ case 2: case 0: |