oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: [linux-next:master 12610/12944] arch/mips/ralink/timer.c:136:34: error: array type has incomplete element type 'struct of_device_id'
Date: Sat, 9 Mar 2024 07:17:46 +0800	[thread overview]
Message-ID: <202403090727.nLhljNp6-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   8ffc8b1bbd505e27e2c8439d326b6059c906c9dd
commit: 5804be0618486f8979208e323188e44f8013a6a3 [12610/12944] MIPS: ralink: Remove unused of_gpio.h
config: mips-randconfig-r021-20220112 (https://download.01.org/0day-ci/archive/20240309/202403090727.nLhljNp6-lkp@intel.com/config)
compiler: mipsel-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240309/202403090727.nLhljNp6-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/202403090727.nLhljNp6-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

>> arch/mips/ralink/timer.c:136:34: error: array type has incomplete element type 'struct of_device_id'
     136 | static const struct of_device_id rt_timer_match[] = {
         |                                  ^~~~~~~~~~~~~~
>> arch/mips/ralink/timer.c:136:34: warning: 'rt_timer_match' defined but not used [-Wunused-variable]


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

                 reply	other threads:[~2024-03-08 23:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202403090727.nLhljNp6-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=linux-mm@kvack.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tsbogend@alpha.franken.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).