Re: [PATCH v10 02/14] net/sxe: add ethdev probe and remove

Stephen Hemminger
2025-07-21T15:35:05Z

On Sat, 19 Jul 2025 17:05:25 +0800
Jie Liu <liujie5@linkdatatechnology.com> wrote:

> +
> +#ifndef fallthrough
> +# define fallthrough do {} while (0)
> +#endif
> +

This won't do what is expected. Compilers will complain
that switch statement has unexpected fall through.
Either make it an attribute or use comment instead.