Re: [PATCH 2/3 V2] inet: Use fallthrough;

From: David Miller
Date: Thu Mar 12 2020 - 18:57:03 EST


From: Joe Perches <joe@xxxxxxxxxxx>
Date: Thu, 12 Mar 2020 15:50:22 -0700

> Convert the various uses of fallthrough comments to fallthrough;
>
> Done via script
> Link: https://lore.kernel.org/lkml/b56602fcf79f849e733e7b521bb0e17895d390fa.1582230379.git.joe@xxxxxxxxxxx/
>
> And by hand:
>
> net/ipv6/ip6_fib.c has a fallthrough comment outside of an #ifdef block
> that causes gcc to emit a warning if converted in-place.
>
> So move the new fallthrough; inside the containing #ifdef/#endif too.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>

Applied to net-next.