* [linux-chenxing:mstar_v5_14_rebase 212/352] drivers/irqchip/irq-msc313-pm-wakeup.c:21:25: error: 'field_mask' redeclared as different kind of symbol
@ 2021-07-20 11:04 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-20 11:04 UTC (permalink / raw)
To: Daniel Palmer; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2886 bytes --]
tree: git://github.com/linux-chenxing/linux.git mstar_v5_14_rebase
head: 651efd0e52f225e60faa8b30f9768021e2104d3c
commit: 1a416fa5ed8de74faf60eb84ede1a3e5c5cce43f [212/352] ARM: mstar: wakeup intc
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.3.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://github.com/linux-chenxing/linux/commit/1a416fa5ed8de74faf60eb84ede1a3e5c5cce43f
git remote add linux-chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags linux-chenxing mstar_v5_14_rebase
git checkout 1a416fa5ed8de74faf60eb84ede1a3e5c5cce43f
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/
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 >>):
>> drivers/irqchip/irq-msc313-pm-wakeup.c:21:25: error: 'field_mask' redeclared as different kind of symbol
21 | static struct reg_field field_mask = REG_FIELD(MSTAR_PMSLEEP_WAKEUPSOURCE, 0, 7);
| ^~~~~~~~~~
In file included from arch/arm64/include/asm/mte.h:13,
from arch/arm64/include/asm/pgtable.h:12,
from include/linux/pgtable.h:6,
from arch/arm64/include/asm/io.h:12,
from include/linux/io.h:13,
from include/linux/irq.h:20,
from drivers/irqchip/irq-msc313-pm-wakeup.c:6:
include/linux/bitfield.h:122:28: note: previous definition of 'field_mask' was here
122 | static __always_inline u64 field_mask(u64 field)
| ^~~~~~~~~~
drivers/irqchip/irq-msc313-pm-wakeup.c: In function 'msc313_pm_wakeup_intc_of_init':
drivers/irqchip/irq-msc313-pm-wakeup.c:137:2: warning: ignoring return value of 'request_irq' declared with attribute 'warn_unused_result' [-Wunused-result]
137 | request_irq(irq, msc313_pm_wakeup_intc_chainedhandler, IRQF_SHARED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138 | "pmsleep", domain);
| ~~~~~~~~~~~~~~~~~~
vim +/field_mask +21 drivers/irqchip/irq-msc313-pm-wakeup.c
20
> 21 static struct reg_field field_mask = REG_FIELD(MSTAR_PMSLEEP_WAKEUPSOURCE, 0, 7);
22 static struct reg_field field_type = REG_FIELD(MSTAR_PMSLEEP_REG24, 0, 7);
23 static struct reg_field field_status = REG_FIELD(MSTAR_PMSLEEP_WAKEINT_STATUS, 0, 7);
24
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 78259 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-20 11:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 11:04 [linux-chenxing:mstar_v5_14_rebase 212/352] drivers/irqchip/irq-msc313-pm-wakeup.c:21:25: error: 'field_mask' redeclared as different kind of symbol 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;
as well as URLs for NNTP newsgroup(s).