mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/platform/x86/amd/amd_isp4.c:154:28: error: incomplete definition of type 'struct module'
@ 2025-06-14 19:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-06-14 19:26 UTC (permalink / raw)
  To: Pratap Nirujogi
  Cc: llvm, oe-kbuild-all, linux-kernel, Ilpo Järvinen,
	Benjamin Chan, Mario Limonciello, Hans de Goede, Armin Wolf

tree:   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/202506150313.UHoIoVhR-lkp@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/20250615/202506150313.UHoIoVhR-lkp@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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506150313.UHoIoVhR-lkp@intel.com/

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	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-06-14 19:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-14 19:26 drivers/platform/x86/amd/amd_isp4.c:154:28: error: incomplete definition of type 'struct module' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®