* Re: [PATCH net-next v4 11/12] cxgb4: extend debugfs support for T7 adapters
[not found] <20261014221257.436789-12-bharat@chelsio.com>
@ 2026-10-15 14:29 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-15 14:29 UTC (permalink / raw)
To: Potnuri Bharat Teja, netdev
Cc: llvm, oe-kbuild-all, davem, kuba, edumazet, pabeni, andrew+netdev,
bharat
Hi Potnuri,
kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on v7.3-rc7 next-20261012]
[cannot apply to horms-ipvs/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Potnuri-Bharat-Teja/cxgb4-add-T7-hardware-definitions-and-firmware-interfaces/20261014-181246
base: linus/master
patch link: https://lore.kernel.org/r/20261014221257.436789-12-bharat%40chelsio.com
patch subject: [PATCH net-next v4 11/12] cxgb4: extend debugfs support for T7 adapters
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20261015/202610152254.VdQcytWi-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261015/202610152254.VdQcytWi-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/202610152254.VdQcytWi-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:4365:18: error: use of undeclared identifier 'clip_tbl_fops'
4365 | { "clip_tbl", &clip_tbl_fops, 0400, 0 },
| ^~~~~~~~~~~~~
>> drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:4390:5: error: invalid application of 'sizeof' to an incomplete type 'struct t4_linux_debugfs_entry[]'
4390 | ARRAY_SIZE(cxgb4_debugfs_files));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/array_size.h:11:32: note: expanded from macro 'ARRAY_SIZE'
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^~~~~
2 errors generated.
vim +/clip_tbl_fops +4365 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
4355
4356 int cxgb4_setup_debugfs(struct adapter *adap)
4357 {
4358 static struct t4_linux_debugfs_entry cxgb4_debugfs_files[] = {
4359 { "blocked_fl", &blocked_fl_fops, 0600 },
4360 #ifdef CONFIG_CHELSIO_T4_DCB
4361 { "dcb_info", &dcb_info_debugfs_fops, 0400, 0 },
4362 #endif /* CONFIG_CHELSIO_T4_DCB */
4363 { "resources", &resources_fops, 0400, 0 },
4364 { "sge_qinfo", &sge_qinfo_debugfs_fops, 0400, 0 },
> 4365 { "clip_tbl", &clip_tbl_fops, 0400, 0 },
4366 { "tids", &tid_info_fops, 0400, 0 },
4367 { "trace0", &mps_trc_debugfs_fops, 0600, 0 },
4368 { "trace1", &mps_trc_debugfs_fops, 0600, 1 },
4369 { "trace2", &mps_trc_debugfs_fops, 0600, 2 },
4370 { "trace3", &mps_trc_debugfs_fops, 0600, 3 },
4371 { "l2t", &t4_l2t_fops, 0400, 0 },
4372 { "crypto", &chcr_stats_fops, 0400, 0 },
4373 };
4374
4375 static struct t4_linux_debugfs_entry cxgb4_t7_debugfs_files[] = {
4376 { "trace4", &mps_trc_debugfs_fops, 0600, 4 },
4377 { "trace5", &mps_trc_debugfs_fops, 0600, 5 },
4378 { "trace6", &mps_trc_debugfs_fops, 0600, 6 },
4379 { "trace7", &mps_trc_debugfs_fops, 0600, 7 },
4380 };
4381
4382 if (IS_ERR_OR_NULL(adap->debugfs_root))
4383 return -1;
4384
4385 #ifdef CONFIG_DEBUG_FS
4386 t4_setup_debugfs(adap);
4387 #endif
4388
4389 cxgb4_add_debugfs_files(adap, cxgb4_debugfs_files,
> 4390 ARRAY_SIZE(cxgb4_debugfs_files));
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread