[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202240941.VUAMJLNZ-lkp@intel.com>
Date: Thu, 24 Feb 2022 09:06:36 +0800
From: kernel test robot <lkp@...el.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.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'
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@...el.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@...nwrt.org>
:::::: CC: Ralf Baechle <ralf@...ux-mips.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists