Re: [PATCH v1] usb: typec: tcpm: implement retry mechanism for Discover Identity VDMs
From: kernel test robot
Date: Tue Jun 16 2026 - 02:05:23 EST
Hi RD,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 511e746700ee6e93104d061a87743906128ab709]
url: https://github.com/intel-lab-lkp/linux/commits/RD-Babiera/usb-typec-tcpm-implement-retry-mechanism-for-Discover-Identity-VDMs/20260616-035226
base: 511e746700ee6e93104d061a87743906128ab709
patch link: https://lore.kernel.org/r/20260615194923.4192117-2-rdbabiera%40google.com
patch subject: [PATCH v1] usb: typec: tcpm: implement retry mechanism for Discover Identity VDMs
config: loongarch-randconfig-r133-20260616 (https://download.01.org/0day-ci/archive/20260616/202606161310.GCXb2ogf-lkp@xxxxxxxxx/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project e19d1f51a2c80b63cd8ca95bcc757b7077112808)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260616/202606161310.GCXb2ogf-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606161310.GCXb2ogf-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> drivers/usb/typec/tcpm/tcpm.c:286:12: sparse: sparse: symbol 'vdm_discovery_state_strings' was not declared. Should it be static?
vim +/vdm_discovery_state_strings +286 drivers/usb/typec/tcpm/tcpm.c
285
> 286 const char *vdm_discovery_state_strings[] = {
287 [VDM_DISCOVERY_UNKNOWN] = "VDM_DISCOVERY_UNKNOWN",
288 [VDM_DISCOVERY_PARTNER_IDENT] = "VDM_DISCOVERY_PARTNER_IDENT",
289 [VDM_DISCOVERY_CABLE_IDENT] = "VDM_DISCOVERY_CABLE_IDENT",
290 [VDM_DISCOVERY_PARTNER_SVIDS] = "VDM_DISCOVERY_PARTNER_SVIDS",
291 [VDM_DISCOVERY_PARTNER_MODES] = "VDM_DISCOVERY_PARTNER_MODES",
292 [VDM_DISCOVERY_CABLE_SVIDS] = "VDM_DISCOVERY_CABLE_SVIDS",
293 [VDM_DISCOVERY_CABLE_MODES] = "VDM_DISCOVERY_CABLE_MODES",
294 [VDM_DISCOVERY_COMPLETE] = "VDM_DISCOVERY_COMPLETE",
295 };
296
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki