* include/linux/usb/usbnet.h:313:33: warning: 'cdc_ether_ethtool_ops' defined but not used
@ 2026-07-14 18:23 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-14 18:23 UTC (permalink / raw)
To: Oliver Neukum; +Cc: oe-kbuild-all, 0day robot
tree: https://github.com/intel-lab-lkp/linux/commits/Oliver-Neukum/net-usb-centralize-usbnet_cdc_zte_rx_fixup-in-usbnet/20260714-200029
head: 01c24668a6e35556ec573ceb5a3b709515946bc4
commit: be5b49f1b5e430f22aa334fd97bc86ef6c2374a0 net: usb: move exported symbols from cdc_ether to usbnet
date: 6 hours ago
config: x86_64-rhel-9.4-bpf (https://download.01.org/0day-ci/archive/20260714/202607142001.FNZl5LGw-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260714/202607142001.FNZl5LGw-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/202607142001.FNZl5LGw-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/net/usb/asix.h:25,
from drivers/net/usb/asix_devices.c:10:
>> include/linux/usb/usbnet.h:313:33: warning: 'cdc_ether_ethtool_ops' defined but not used [-Wunused-const-variable=]
313 | static const struct ethtool_ops cdc_ether_ethtool_ops = {
| ^~~~~~~~~~~~~~~~~~~~~
>> include/linux/usb/usbnet.h:19:17: warning: 'mbm_guid' defined but not used [-Wunused-const-variable=]
19 | static const u8 mbm_guid[16] = {
| ^~~~~~~~
vim +/cdc_ether_ethtool_ops +313 include/linux/usb/usbnet.h
311
312 /* We need to override usbnet_*_link_ksettings in bind() */
> 313 static const struct ethtool_ops cdc_ether_ethtool_ops = {
314 .get_link = usbnet_get_link,
315 .nway_reset = usbnet_nway_reset,
316 .get_drvinfo = usbnet_get_drvinfo,
317 .get_msglevel = usbnet_get_msglevel,
318 .set_msglevel = usbnet_set_msglevel,
319 .get_ts_info = ethtool_op_get_ts_info,
320 .get_link_ksettings = usbnet_get_link_ksettings_internal,
321 .set_link_ksettings = NULL,
322 };
323
--
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:[~2026-07-14 18:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-14 18:23 include/linux/usb/usbnet.h:313:33: warning: 'cdc_ether_ethtool_ops' 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.