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

Stephen Hemminger stephen at networkplumber.org
Mon Jul 21 17:27:17 CEST 2025


On Sat, 19 Jul 2025 17:05:25 +0800
Jie Liu <liujie5 at 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.


More information about the dev mailing list