include/linux/module.h:550:29: error: field 'dyndbg_info' has incomplete type
kernel test robot
build bottree: https://github.com/jimc/linux.git dd-drm-fix-next head: 23def6f5fa9da6a03e232b4368bfa5908d7e3194 commit: cf693cfaeb0eb6df6fb46cfd8f9c168c708596d4 [2/20] dyndbg: use the module notifier callbacks config: x86_64-randconfig-a006 (https://download.01.org/0day-ci/archive/20230219/[email protected]/config) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/jimc/linux/commit/cf693cfaeb0eb6df6fb46cfd8f9c168c708596d4
git remote add jimc https://github.com/jimc/linux.git
git fetch --no-tags jimc dd-drm-fix-next
git checkout cf693cfaeb0eb6df6fb46cfd8f9c168c708596d4
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 prepare
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
In file included from include/linux/device/driver.h:21,
from include/linux/device.h:32,
from include/linux/blk_types.h:11,
from include/linux/writeback.h:13,
from include/linux/memcontrol.h:22,
from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from arch/x86/kernel/asm-offsets.c:13:
>> include/linux/module.h:550:29: error: field 'dyndbg_info' has incomplete type
550 | struct _ddebug_info dyndbg_info;
| ^~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:114: arch/x86/kernel/asm-offsets.s] Error 1 make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:1298: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:242: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/dyndbg_info +550 include/linux/module.h
544
545 #ifdef CONFIG_FUNCTION_ERROR_INJECTION
546 struct error_injection_entry *ei_funcs;
547 unsigned int num_ei_funcs;
548 #endif
549 #ifdef CONFIG_DYNAMIC_DEBUG_CORE
> 550 struct _ddebug_info dyndbg_info;
551 #endif
552 } ____cacheline_aligned __randomize_layout;
553 #ifndef MODULE_ARCH_INIT
554 #define MODULE_ARCH_INIT {}
555 #endif
556
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests