Hi Lukas, kernel test robot noticed the following build errors:
[auto build test ERROR on 96c85e428ebaeacd2c640eba075479ab92072ccd] url: https://github.com/intel-lab-lkp/linux/commits/Lukas-Zapolskas/drm-panthor-Add-performance-counter-uAPI/20250517-000257 base: 96c85e428ebaeacd2c640eba075479ab92072ccd patch link: https://lore.kernel.org/r/0319137f966f2dbffc54e51f7a2a3cbac837507b.1747148172.git.lukas.zapolskas%40arm.com patch subject: [PATCH v4 4/7] drm/panthor: Introduce sampling sessions to handle userspace clients config: i386-buildonly-randconfig-002-20250517 (https://download.01.org/0day-ci/archive/20250517/202505171509.6i95nz0n-...@intel.com/config) compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250517/202505171509.6i95nz0n-...@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 <l...@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202505171509.6i95nz0n-...@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/panthor/panthor_perf.c:189:8: error: redefinition of >> 'panthor_perf_counter_block' 189 | struct panthor_perf_counter_block { | ^ drivers/gpu/drm/panthor/panthor_perf.c:47:8: note: previous definition is here 47 | struct panthor_perf_counter_block { | ^ drivers/gpu/drm/panthor/panthor_perf.c:233:29: error: call to undeclared function 'GPU_MEM_FEATURES_L2_SLICES'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | perf_info->memsys_blocks = GPU_MEM_FEATURES_L2_SLICES(ptdev->gpu_info.mem_features); | ^ 2 errors generated. vim +/panthor_perf_counter_block +189 drivers/gpu/drm/panthor/panthor_perf.c 05182d1d6cff3c7 Lukas Zapolskas 2025-05-16 188 1c26af93f15f9e2 Lukas Zapolskas 2025-05-16 @189 struct panthor_perf_counter_block { 1c26af93f15f9e2 Lukas Zapolskas 2025-05-16 190 struct drm_panthor_perf_block_header header; 1c26af93f15f9e2 Lukas Zapolskas 2025-05-16 191 u64 counters[]; 1c26af93f15f9e2 Lukas Zapolskas 2025-05-16 192 }; 1c26af93f15f9e2 Lukas Zapolskas 2025-05-16 193 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki