hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/ide/hpt366.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 1999-2003 Andre Hedrick <andre@linux-ide.org>
34 * Portions Copyright (C) 2001 Sun Microsystems, Inc.
....@@ -574,14 +575,14 @@
574575 if (!HPT370_ALLOW_ATA100_5 ||
575576 check_in_drive_list(drive, bad_ata100_5))
576577 return ATA_UDMA4;
577
- /* else: fall through */
578
+ fallthrough;
578579 case HPT372 :
579580 case HPT372A:
580581 case HPT372N:
581582 case HPT374 :
582583 if (ata_id_is_sata(drive->id))
583584 mask &= ~0x0e;
584
- /* fall through */
585
+ fallthrough;
585586 default:
586587 return mask;
587588 }
....@@ -601,7 +602,7 @@
601602 case HPT374 :
602603 if (ata_id_is_sata(drive->id))
603604 return 0x00;
604
- /* else: fall through */
605
+ fallthrough;
605606 default:
606607 return 0x07;
607608 }