drivers/platform/x86/amd/amd_isp4.c:154:28: error: incomplete definition of type 'struct module'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8c6bc74c7f8910ed4c969ccec52e98716f98700a commit: 90b85567e45736b662d034be536a76ba0f4c7ca8 platform/x86: Add AMD ISP platform config for OV05C10 date: 4 weeks ago config: x86_64-buildonly-randconfig-001-20250615 (https://download.01.org/0day-ci/archive/20250615/[email protected]/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/20250615/[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 >>):
>> drivers/platform/x86/amd/amd_isp4.c:154:28: error: incomplete definition of type 'struct module'
154 | return !strcmp(adap->owner->name, "i2c_designware_amdisp");
| ~~~~~~~~~~~^
arch/x86/include/asm/alternative.h:99:8: note: forward declaration of 'struct module'
99 | struct module;
| ^1 error generated.
vim +154 drivers/platform/x86/amd/amd_isp4.c
151
152 static inline bool is_isp_i2c_adapter(struct i2c_adapter *adap)
153 {
> 154 return !strcmp(adap->owner->name, "i2c_designware_amdisp");
155 }
156
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki