drivers/net/ethernet/cadence/macb_main.c:5710:12: error: use of undeclared identifier 'at91_default_usrio'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git tsu head: 0121d200894912212bc77fe0019ff4d4d4887e61 commit: 325c27e385e16c0a7daf13baf5c3da8a057211c0 [2/14] net: macb: rename macb_default_usrio to at91_default_usrio as not all platforms have mii mode control in usrio config: x86_64-randconfig-122-20260327 (https://download.01.org/0day-ci/archive/20260328/[email protected]/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260328/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
>> drivers/net/ethernet/cadence/macb_main.c:5710:12: error: use of undeclared identifier 'at91_default_usrio'
5710 | .usrio = &at91_default_usrio,
| ^1 error generated.
vim +/at91_default_usrio +5710 drivers/net/ethernet/cadence/macb_main.c
5704
5705 static const struct macb_config default_gem_config = {
5706 .caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE |
5707 MACB_CAPS_JUMBO |
5708 MACB_CAPS_GEM_HAS_PTP,
5709 .dma_burst_length = 16,
> 5710 .usrio = &at91_default_usrio,
5711 .jumbo_max_len = 10240,
5712 };
5713
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki