* [intel-lts:pr/69 1/1] drivers/net/ethernet/mellanox/mlxsw/i2c.c:49:19: warning: 'mlxsw_i2c_driver_name' defined but not used
@ 2025-02-27 2:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-27 2:57 UTC (permalink / raw)
Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-02-27 2:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27 2:57 [intel-lts:pr/69 1/1] drivers/net/ethernet/mellanox/mlxsw/i2c.c:49:19: warning: 'mlxsw_i2c_driver_name' defined but not used kernel test robot
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.