tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable head: 3dabb05be4612527104198f754de8c5443f7f765 commit: e435b85a4aea7a82259105d5d8025655460052e1 [111/127] mm, page_owner: add page_owner_stacks file to print out only stacks and their counte config: arm-buildonly-randconfig-r006-20230517 compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project b0fb98227c90adf2536c9ad644a74d5e92961111) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?id=e435b85a4aea7a82259105d5d8025655460052e1 git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git git fetch --no-tags akpm-mm mm-unstable git checkout e435b85a4aea7a82259105d5d8025655460052e1 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpu/drm/tilcdc/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202305171411.iw7APiY8-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/tilcdc/tilcdc_plane.c:7: In file included from include/drm/drm_atomic.h:31: In file included from include/drm/drm_crtc.h:30: In file included from include/drm/drm_modeset_lock.h:28: >> include/linux/stackdepot.h:116:26: error: declaration of 'struct seq_file' will not be visible outside of this function [-Werror,-Wvisibility] void *stack_start(struct seq_file *m, loff_t *ppos); ^ include/linux/stackdepot.h:117:25: error: declaration of 'struct seq_file' will not be visible outside of this function [-Werror,-Wvisibility] void *stack_next(struct seq_file *m, void *v, loff_t *ppos); ^ include/linux/stackdepot.h:118:24: error: declaration of 'struct seq_file' will not be visible outside of this function [-Werror,-Wvisibility] int stack_print(struct seq_file *m, void *v); ^ 3 errors generated. vim +116 include/linux/stackdepot.h 99 100 /** 101 * stack_depot_save - Save a stack trace to stack depot 102 * 103 * @entries: Pointer to the stack trace 104 * @nr_entries: Number of frames in the stack 105 * @alloc_flags: Allocation GFP flags 106 * 107 * Context: Contexts where allocations via alloc_pages() are allowed. 108 * See __stack_depot_save() for more details. 109 * 110 * Return: Handle of the stack trace stored in depot, 0 on failure 111 */ 112 depot_stack_handle_t stack_depot_save(unsigned long *entries, 113 unsigned int nr_entries, gfp_t gfp_flags); 114 115 #ifdef CONFIG_PAGE_OWNER > 116 void *stack_start(struct seq_file *m, loff_t *ppos); 117 void *stack_next(struct seq_file *m, void *v, loff_t *ppos); 118 int stack_print(struct seq_file *m, void *v); 119 #endif 120 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki