Re: [PATCH -next 014/491] DECSTATION PLATFORM SUPPORT: Use fallthrough;
From: Thomas Bogendoerfer
Date: Wed Mar 11 2020 - 15:27:47 EST
On Tue, Mar 10, 2020 at 09:51:28PM -0700, Joe Perches wrote:
> Convert the various uses of fallthrough comments to fallthrough;
>
> Done via script
> Link: https://lore.kernel.org/lkml/b56602fcf79f849e733e7b521bb0e17895d390fa.1582230379.git.joe.com/
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---
> arch/mips/dec/tc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/mips/dec/tc.c b/arch/mips/dec/tc.c
> index 732027c..dba583 100644
> --- a/arch/mips/dec/tc.c
> +++ b/arch/mips/dec/tc.c
> @@ -52,7 +52,7 @@ int __init tc_bus_get_info(struct tc_bus *tbus)
> case MACH_DS5900:
> tbus->ext_slot_base = 0x20000000;
> tbus->ext_slot_size = 0x20000000;
> - /* fall through */
> + fallthrough;
> case MACH_DS5000_1XX:
> tbus->num_tcslots = 3;
> break;
Acked-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]