pata_cmd64x: Use fallthrough pseudo-keyword
PATCH 1/1 pata_cmd64x: Use fallthrough pseudo-keyword
Replace /* FALL THRU */ comment with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- drivers/ata/pata_cmd64x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/pata_cmd64x.c +1 -1
@@ -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 :
Signature · 1 line
2.27.0
Jens Axboe
AppliedQuoted 4 lines · Gustavo A. R. Silva
Replace /* FALL THRU */ comment with the new pseudo-keyword macro fallthrough[1].
Applied, thanks.
Signature · 1 line
Jens Axboe