Hi Rob, kernel test robot noticed the following build errors:
[auto build test ERROR on drm/drm-next] [also build test ERROR on drm-tip/drm-tip linus/master next-20261030] [cannot apply to drm-misc/drm-misc-next daeinki-drm-exynos/exynos-drm-next drm-i915/for-linux-next drm-i915/for-linux-next-fixes v7.3] [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/Rob-Clark/drm-msm-Import-adreno_snapshot-h/20261102-140245 base: https://gitlab.freedesktop.org/drm/kernel.git drm-next patch link: https://lore.kernel.org/r/20261102220405.30730-12-robin.clark%40oss.qualcomm.com patch subject: [PATCH v5 11/15] drm/msm/a8xx: devcoredump state capture support config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20261104/[email protected]/config) compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261104/[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 >>): In file included from drivers/gpu/drm/msm/adreno/a8xx_gpu_state.c:9: >> drivers/gpu/drm/msm/adreno/adreno_snapshot.h:506:15: error: call to >> undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit >> function declarations [-Wimplicit-function-declaration] 506 | *(p->in++) = FIELD_PREP(GENMASK_U64(63, 44), reg) | BIT(21) | BIT(0); | ^ drivers/gpu/drm/msm/adreno/adreno_snapshot.h:513:15: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 513 | *(p->in++) = FIELD_PREP(GENMASK_U64(63, 44), reg) | dwords; | ^ >> drivers/gpu/drm/msm/adreno/a8xx_gpu_state.c:920:14: error: call to >> undeclared function 'FIELD_GET'; ISO C99 and later do not support implicit >> function declarations [-Wimplicit-function-declaration] 920 | side_data = FIELD_GET(GENMASK(27, 24), reg); | ^ drivers/gpu/drm/msm/adreno/a8xx_gpu_state.c:1135:14: error: call to undeclared function 'FIELD_GET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1135 | side_data = FIELD_GET(GENMASK(27, 24), reg); | ^ >> drivers/gpu/drm/msm/adreno/a8xx_gpu_state.c:1271:4: error: call to >> undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit >> function declarations [-Wimplicit-function-declaration] 1271 | FIELD_PREP(GENMASK(7, 4), a6xx_gpu->slice_mask)); | ^ 5 errors generated. vim +/FIELD_PREP +506 drivers/gpu/drm/msm/adreno/adreno_snapshot.h 502 503 static inline void CD_WRITE(struct cd_script *p, u32 reg, u32 val) 504 { 505 *(p->in++) = val; > 506 *(p->in++) = FIELD_PREP(GENMASK_U64(63, 44), reg) | BIT(21) | > BIT(0); 507 __cd_check_overflow(p); 508 } 509 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
