From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [intel-lts:pr/69 1/1] drivers/net/ethernet/mellanox/mlxsw/i2c.c:49:19: warning: 'mlxsw_i2c_driver_name' defined but not used
Date: Thu, 27 Feb 2025 10:57:06 +0800 [thread overview]
Message-ID: <202502271024.BXrq2403-lkp@intel.com> (raw)
tree: https://github.com/intel/linux-intel-lts.git pr/69
head: f36ea6678b4077d9bbb4644e73977fb91d187ab7
commit: 8122e08b1d876b9af605db5ad351961c5ea276ed [1/1] Allow Mellanox switch devices to be configured if only I2C bus is set
config: powerpc64-randconfig-002-20250224 (https://download.01.org/0day-ci/archive/20250227/202502271024.BXrq2403-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250227/202502271024.BXrq2403-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502271024.BXrq2403-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/mellanox/mlxsw/i2c.c:49:19: warning: 'mlxsw_i2c_driver_name' defined but not used [-Wunused-const-variable=]
static const char mlxsw_i2c_driver_name[] = "mlxsw_i2c";
^~~~~~~~~~~~~~~~~~~~~
vim +/mlxsw_i2c_driver_name +49 drivers/net/ethernet/mellanox/mlxsw/i2c.c
6882b0aee180f2 Vadim Pasternak 2016-11-16 48
6882b0aee180f2 Vadim Pasternak 2016-11-16 @49 static const char mlxsw_i2c_driver_name[] = "mlxsw_i2c";
6882b0aee180f2 Vadim Pasternak 2016-11-16 50
:::::: The code at line 49 was first introduced by commit
:::::: 6882b0aee180f2797b8803bdf699aa45c2e5f2d6 mlxsw: Introduce support for I2C bus
:::::: TO: Vadim Pasternak <vadimp@mellanox.com>
:::::: CC: David S. Miller <davem@davemloft.net>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-02-27 2:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202502271024.BXrq2403-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.