[PATCH 0/3] common/sfc_efx/base: fix compiler warnings in X4 netport API
Stephen Hemminger
stephen at networkplumber.org
Fri Jul 11 16:55:44 CEST 2025
On Fri, 11 Jul 2025 18:43:46 +0400
Ivan Malov <ivan.malov at arknetworks.am> wrote:
> The 25.07 release has got support for AMD Solarflare X45xx adapters [1].
> This series is a follow-up to [1] to fix compiler warnings in the base
> driver that are seen in Windows driver build, also based on this driver.
>
> [1] https://patches.dpdk.org/project/dpdk/list/?series=35095
>
> Ivan Malov (3):
> common/sfc_efx/base: fix compiler warnings in statistic code
> common/sfc_efx/base: fix compiler warnings in PHY link setup
> common/sfc_efx/base: fix compiler warning in PHY link getter
>
> drivers/common/sfc_efx/base/efx_np.c | 7 ++-----
> drivers/common/sfc_efx/base/medford4_phy.c | 1 -
> 2 files changed, 2 insertions(+), 6 deletions(-)
>
Have your tried enabling -Wshadow and -Wduplicated-branches and -Wduplicated-cond
Those flags are finding stuff in other places.
More information about the dev
mailing list