Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [mips-linux:mips-next 47/56] arch/mips/ralink/timer.c:136:48: error: array has incomplete element type 'const struct of_device_id'
@ 2024-03-12  1:38 kernel test robot
  2024-03-12 14:34 ` Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2024-03-12  1:38 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: llvm, oe-kbuild-all, linux-mips, Thomas Bogendoerfer

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git mips-next
head:   732932220078f6312f3ef57c17523d3d7f995655
commit: 5804be0618486f8979208e323188e44f8013a6a3 [47/56] MIPS: ralink: Remove unused of_gpio.h
config: mips-rt305x_defconfig (https://download.01.org/0day-ci/archive/20240312/202403120926.hoXbeGnb-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 503c55e17037436dcd45ac69dea8967e67e3f5e8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240312/202403120926.hoXbeGnb-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/202403120926.hoXbeGnb-lkp@intel.com/

Note: the mips-linux/mips-next HEAD 732932220078f6312f3ef57c17523d3d7f995655 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> arch/mips/ralink/timer.c:136:48: error: array has incomplete element type 'const struct of_device_id'
     136 | static const struct of_device_id rt_timer_match[] = {
         |                                                ^
   include/linux/device/driver.h:106:15: note: forward declaration of 'struct of_device_id'
     106 |         const struct of_device_id       *of_match_table;
         |                      ^
   1 error generated.


vim +136 arch/mips/ralink/timer.c

80ecbd245791fe John Crispin 2013-08-08  135  
80ecbd245791fe John Crispin 2013-08-08 @136  static const struct of_device_id rt_timer_match[] = {
80ecbd245791fe John Crispin 2013-08-08  137  	{ .compatible = "ralink,rt2880-timer" },
80ecbd245791fe John Crispin 2013-08-08  138  	{},
80ecbd245791fe John Crispin 2013-08-08  139  };
80ecbd245791fe John Crispin 2013-08-08  140  

:::::: The code at line 136 was first introduced by commit
:::::: 80ecbd245791fec5da4baa88c7273ec7f9ae7782 MIPS: ralink: Add support for periodic timer irq

:::::: TO: John Crispin <blogic@openwrt.org>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [mips-linux:mips-next 47/56] arch/mips/ralink/timer.c:136:48: error: array has incomplete element type 'const struct of_device_id'
  2024-03-12  1:38 [mips-linux:mips-next 47/56] arch/mips/ralink/timer.c:136:48: error: array has incomplete element type 'const struct of_device_id' kernel test robot
@ 2024-03-12 14:34 ` Andy Shevchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2024-03-12 14:34 UTC (permalink / raw)
  To: kernel test robot; +Cc: llvm, oe-kbuild-all, linux-mips, Thomas Bogendoerfer

On Tue, Mar 12, 2024 at 09:38:38AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git mips-next
> head:   732932220078f6312f3ef57c17523d3d7f995655
> commit: 5804be0618486f8979208e323188e44f8013a6a3 [47/56] MIPS: ralink: Remove unused of_gpio.h
> config: mips-rt305x_defconfig (https://download.01.org/0day-ci/archive/20240312/202403120926.hoXbeGnb-lkp@intel.com/config)
> compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 503c55e17037436dcd45ac69dea8967e67e3f5e8)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240312/202403120926.hoXbeGnb-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/202403120926.hoXbeGnb-lkp@intel.com/

Fix already had been sent and applied.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-12 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-12  1:38 [mips-linux:mips-next 47/56] arch/mips/ralink/timer.c:136:48: error: array has incomplete element type 'const struct of_device_id' kernel test robot
2024-03-12 14:34 ` Andy Shevchenko

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