[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170724095144.57f994ad@xeon-e3>
Date: Mon, 24 Jul 2017 09:51:44 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Saeed Mahameed <saeedm@....mellanox.co.il>
Cc: netdev@...r.kernel.org
Subject: mlx5 still has lots of warnings
I sent patches for this, and you said you were going to solve this (back in April).
Still see lots of warnings from MLX5.
CC [M] drivers/net/ethernet/mellanox/mlx5/core/en_rep.o
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:767:35: warning: ‘mlx5e_rep_switchdev_ops’ defined but not used [-Wunused-const-variable=]
static const struct switchdev_ops mlx5e_rep_switchdev_ops = {
^~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:41:0:
drivers/net/ethernet/mellanox/mlx5/core/en.h:188:19: warning: ‘mlx5e_priv_flags’ defined but not used [-Wunused-const-variable=]
static const char mlx5e_priv_flags[][ETH_GSTRING_LEN] = {
^~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/mellanox/mlx5/core/en.h:51:0,
from drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:41:
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:427:34: warning: ‘mlx5e_pme_error_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc mlx5e_pme_error_desc[] = {
^~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:423:34: warning: ‘mlx5e_pme_status_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc mlx5e_pme_status_desc[] = {
^~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:372:34: warning: ‘sq_stats_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc sq_stats_desc[] = {
^~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:331:34: warning: ‘rq_stats_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc rq_stats_desc[] = {
^~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:303:34: warning: ‘pcie_perf_stats_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc pcie_perf_stats_desc[] = {
^~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:284:34: warning: ‘pport_per_prio_pfc_stats_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc pport_per_prio_pfc_stats_desc[] = {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:277:34: warning: ‘pport_per_prio_traffic_stats_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc pport_per_prio_traffic_stats_desc[] = {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:272:34: warning: ‘pport_phy_statistical_stats_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc pport_phy_statistical_stats_desc[] = {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:256:34: warning: ‘pport_2819_stats_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc pport_2819_stats_desc[] = {
^~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:250:34: warning: ‘pport_2863_stats_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc pport_2863_stats_desc[] = {
^~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:229:34: warning: ‘pport_802_3_stats_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc pport_802_3_stats_desc[] = {
^~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:145:34: warning: ‘vport_stats_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc vport_stats_desc[] = {
^~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:133:34: warning: ‘q_stats_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc q_stats_desc[] = {
^~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:92:34: warning: ‘sw_stats_desc’ defined but not used [-Wunused-const-variable=]
static const struct counter_desc sw_stats_desc[] = {
^~~~~~~~~~~~~
LD [M] drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.o
Powered by blists - more mailing lists