| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 1999-2003 Andre Hedrick <andre@linux-ide.org> |
|---|
| 3 | 4 | * Portions Copyright (C) 2001 Sun Microsystems, Inc. |
|---|
| .. | .. |
|---|
| 574 | 575 | if (!HPT370_ALLOW_ATA100_5 || |
|---|
| 575 | 576 | check_in_drive_list(drive, bad_ata100_5)) |
|---|
| 576 | 577 | return ATA_UDMA4; |
|---|
| 577 | | - /* else: fall through */ |
|---|
| 578 | + fallthrough; |
|---|
| 578 | 579 | case HPT372 : |
|---|
| 579 | 580 | case HPT372A: |
|---|
| 580 | 581 | case HPT372N: |
|---|
| 581 | 582 | case HPT374 : |
|---|
| 582 | 583 | if (ata_id_is_sata(drive->id)) |
|---|
| 583 | 584 | mask &= ~0x0e; |
|---|
| 584 | | - /* fall through */ |
|---|
| 585 | + fallthrough; |
|---|
| 585 | 586 | default: |
|---|
| 586 | 587 | return mask; |
|---|
| 587 | 588 | } |
|---|
| .. | .. |
|---|
| 601 | 602 | case HPT374 : |
|---|
| 602 | 603 | if (ata_id_is_sata(drive->id)) |
|---|
| 603 | 604 | return 0x00; |
|---|
| 604 | | - /* else: fall through */ |
|---|
| 605 | + fallthrough; |
|---|
| 605 | 606 | default: |
|---|
| 606 | 607 | return 0x07; |
|---|
| 607 | 608 | } |
|---|