Commit c9b02990 authored by Liangliang Huang's avatar Liangliang Huang Committed by Thomas Bogendoerfer
Browse files

MIPS: Use fallthrough for arch/mips

Convert the various /* fallthrough */ comments to the pseudo-keyword
fallthrough;

Done via script:
https://lore.kernel.org/lkml/b56602fcf79f849e733e7b521bb0e17895d390fa.1582230379.git.joe@perches.com/



Signed-off-by: default avatarLiangliang Huang <huangll@lemote.com>
Reviewed-by: default avatarHuacai Chen <chenhc@lemote.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent ff487d41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -225,7 +225,7 @@ static void __init pb1550_nand_setup(void)
	case 0: case 2: case 8: case 0xC: case 0xD:
		/* x16 NAND Flash */
		pb1550_nand_pd.devwidth = 1;
		/* fallthrough */
		fallthrough;
	case 1: case 3: case 9: case 0xE: case 0xF:
		/* x8 NAND, already set up */
		platform_device_register(&pb1550_nand_dev);
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ const char *get_system_type(void)
		case TITAN_CHIP_1060:
			return "TI AR7 (TNETV1060)";
		}
		/* fall through */
		fallthrough;
	default:
		return "TI AR7 (unknown)";
	}
+1 −2
Original line number Diff line number Diff line
@@ -153,8 +153,7 @@ static void __init ath79_detect_sys_type(void)
	case REV_ID_MAJOR_QCA9533_V2:
		ver = 2;
		ath79_soc_rev = 2;
		/* fall through */

		fallthrough;
	case REV_ID_MAJOR_QCA9533:
		ath79_soc = ATH79_SOC_QCA9533;
		chip = "9533";
+1 −1
Original line number Diff line number Diff line
@@ -304,7 +304,7 @@ void __init bcm63xx_cpu_init(void)
	case CPU_BMIPS3300:
		if ((read_c0_prid() & PRID_IMP_MASK) != PRID_IMP_BMIPS3300_ALT)
			__cpu_name[cpu] = "Broadcom BCM6338";
		/* fall-through */
		fallthrough;
	case CPU_BMIPS32:
		chipid_reg = BCM_6345_PERF_BASE;
		break;
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ static int __init bcm63xx_detect_flash_type(void)
		case STRAPBUS_6368_BOOT_SEL_PARALLEL:
			return BCM63XX_FLASH_TYPE_PARALLEL;
		}
		/* fall through */
		fallthrough;
	default:
		return -EINVAL;
	}
Loading