[PATCH 1/1] net: replace /* Fall through */

Simon Glass sjg at chromium.org
Sun Apr 2 04:37:10 CEST 2023


On Sat, 1 Apr 2023 at 20:30, Heinrich Schuchardt <
heinrich.schuchardt at canonical.com> wrote:
>
> gcc 12 does not understand /* Fall through */.
> Use the fallthrough macro instead.
>
> Fallthrough at the start of a switch statement makes no sense.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  net/net.c | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list