Skip to content

Commit 5029a04

Browse files
GustavoARSilvaaxboe
authored andcommitted
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>
1 parent 564a7ee commit 5029a04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/ata/pata_cmd64x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
461461
case 1:
462462
ppi[0] = &cmd_info[4];
463463
ppi[1] = &cmd_info[4];
464-
/* FALL THRU */
464+
fallthrough;
465465
/* Early revs have no CNTRL_CH0 */
466466
case 2:
467467
case 0:

0 commit comments

Comments
 (0)