From: Stephen Hemminger <stephen@networkplumber.org>
To: Saeed Mahameed <saeedm@dev.mellanox.co.il>
Cc: netdev@vger.kernel.org
Subject: mlx5 still has lots of warnings
Date: Mon, 24 Jul 2017 09:51:44 -0700 [thread overview]
Message-ID: <20170724095144.57f994ad@xeon-e3> (raw)
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
next reply other threads:[~2017-07-24 16:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-24 16:51 Stephen Hemminger [this message]
2017-07-26 11:27 ` mlx5 still has lots of warnings Saeed Mahameed
2017-07-27 10:55 ` Saeed Mahameed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170724095144.57f994ad@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=netdev@vger.kernel.org \
--cc=saeedm@dev.mellanox.co.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox