public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [mingo-tip:sched/headers 1767/2340] arch/mips/lantiq/xway/dma.c:284:34: error: array type has incomplete element type 'struct of_device_id'
Date: Thu, 24 Feb 2022 09:06:36 +0800	[thread overview]
Message-ID: <202202240941.VUAMJLNZ-lkp@intel.com> (raw)

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head:   97c5eeb4de3ad324ed2a4656b46465299cfd010a
commit: 4d3d857e45b20f83f7a1902118be9158f7e62ef3 [1767/2340] headers/deps: of: Optimize <linux/of_types.h> dependencies
config: mips-xway_defconfig (https://download.01.org/0day-ci/archive/20220224/202202240941.VUAMJLNZ-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=4d3d857e45b20f83f7a1902118be9158f7e62ef3
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip sched/headers
        git checkout 4d3d857e45b20f83f7a1902118be9158f7e62ef3
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/mips/lantiq/xway/dma.c:284:34: error: array type has incomplete element type 'struct of_device_id'
     284 | static const struct of_device_id dma_match[] = {
         |                                  ^~~~~~~~~
   arch/mips/lantiq/xway/dma.c:298:1: warning: no previous prototype for 'dma_init' [-Wmissing-prototypes]
     298 | dma_init(void)
         | ^~~~~~~~
   arch/mips/lantiq/xway/dma.c:284:34: warning: 'dma_match' defined but not used [-Wunused-variable]
     284 | static const struct of_device_id dma_match[] = {
         |                                  ^~~~~~~~~


vim +284 arch/mips/lantiq/xway/dma.c

dfec1a827d2bdc John Crispin 2011-05-06  283  
ddd4eeca961cc6 John Crispin 2012-04-12 @284  static const struct of_device_id dma_match[] = {
ddd4eeca961cc6 John Crispin 2012-04-12  285  	{ .compatible = "lantiq,dma-xway" },
ddd4eeca961cc6 John Crispin 2012-04-12  286  	{},
ddd4eeca961cc6 John Crispin 2012-04-12  287  };
ddd4eeca961cc6 John Crispin 2012-04-12  288  

:::::: The code at line 284 was first introduced by commit
:::::: ddd4eeca961cc6b1d57e0ca2f264403d690b6882 MIPS: lantiq: convert dma to platform driver

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

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

                 reply	other threads:[~2022-02-24  1:30 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=202202240941.VUAMJLNZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    /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