[PATCH] ethdev: fix shadow variable definition

Stephen Hemminger stephen at networkplumber.org
Thu Jul 3 19:25:40 CEST 2025


On Thu,  3 Jul 2025 10:24:07 -0700
Stephen Hemminger <stephen at networkplumber.org> wrote:

> diff --git a/config/meson.build b/config/meson.build
> index f31fef216c..3fc58c53b8 100644
> --- a/config/meson.build
> +++ b/config/meson.build
> @@ -322,6 +322,7 @@ global_cflags = [
>          '-Wnested-externs',
>          '-Wold-style-definition',
>          '-Wpointer-arith',
> +        '-Wshadow',
>          '-Wsign-compare',
>          '-Wstrict-prototypes',
>          '-Wundef',

OOPS didn't mean for that bit, it triggers lots of warnings.
See other bugs


More information about the dev mailing list