From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [chenxing:msc313_mainlining 62/79] drivers/irqchip/irq-msc313-pm-wakeup.c:21:25: error: 'field_mask' redeclared as different kind of symbol
Date: Sun, 16 Jan 2022 01:54:52 +0800 [thread overview]
Message-ID: <202201160121.tUtiMcTY-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3188 bytes --]
tree: git://github.com/linux-chenxing/linux.git msc313_mainlining
head: 944e0daa939a7374dc40b73ceedb78a788fb25d4
commit: c37ce8087960dcad8436a7120a410dba3c5ded61 [62/79] irqchip: MStar wakeup intc
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20220116/202201160121.tUtiMcTY-lkp(a)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://github.com/linux-chenxing/linux/commit/c37ce8087960dcad8436a7120a410dba3c5ded61
git remote add chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags chenxing msc313_mainlining
git checkout c37ce8087960dcad8436a7120a410dba3c5ded61
# 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 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/mips/include/asm/mips-cps.h:10,
from arch/mips/include/asm/smp-ops.h:16,
from arch/mips/include/asm/smp.h:21,
from include/linux/smp.h:113,
from include/linux/lockdep.h:14,
from include/linux/spinlock.h:62,
from include/linux/irq.h:14,
from drivers/irqchip/irq-msc313-pm-wakeup.c:6:
include/linux/bitfield.h:139:28: note: previous definition of 'field_mask' with type 'u64(u64)' {aka 'long long unsigned int(long long unsigned int)'}
139 | 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:132:9: warning: ignoring return value of 'request_irq' declared with attribute 'warn_unused_result' [-Wunused-result]
132 | request_irq(irq, msc313_pm_wakeup_intc_chainedhandler, IRQF_SHARED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133 | "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(a)lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Daniel Palmer <daniel@0x0f.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [chenxing:msc313_mainlining 62/79] drivers/irqchip/irq-msc313-pm-wakeup.c:21:25: error: 'field_mask' redeclared as different kind of symbol
Date: Sun, 16 Jan 2022 01:54:52 +0800 [thread overview]
Message-ID: <202201160121.tUtiMcTY-lkp@intel.com> (raw)
tree: git://github.com/linux-chenxing/linux.git msc313_mainlining
head: 944e0daa939a7374dc40b73ceedb78a788fb25d4
commit: c37ce8087960dcad8436a7120a410dba3c5ded61 [62/79] irqchip: MStar wakeup intc
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20220116/202201160121.tUtiMcTY-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://github.com/linux-chenxing/linux/commit/c37ce8087960dcad8436a7120a410dba3c5ded61
git remote add chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags chenxing msc313_mainlining
git checkout c37ce8087960dcad8436a7120a410dba3c5ded61
# 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 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/mips/include/asm/mips-cps.h:10,
from arch/mips/include/asm/smp-ops.h:16,
from arch/mips/include/asm/smp.h:21,
from include/linux/smp.h:113,
from include/linux/lockdep.h:14,
from include/linux/spinlock.h:62,
from include/linux/irq.h:14,
from drivers/irqchip/irq-msc313-pm-wakeup.c:6:
include/linux/bitfield.h:139:28: note: previous definition of 'field_mask' with type 'u64(u64)' {aka 'long long unsigned int(long long unsigned int)'}
139 | 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:132:9: warning: ignoring return value of 'request_irq' declared with attribute 'warn_unused_result' [-Wunused-result]
132 | request_irq(irq, msc313_pm_wakeup_intc_chainedhandler, IRQF_SHARED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133 | "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
next reply other threads:[~2022-01-15 17:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-15 17:54 kernel test robot [this message]
2022-01-15 17:54 ` [chenxing:msc313_mainlining 62/79] drivers/irqchip/irq-msc313-pm-wakeup.c:21:25: error: 'field_mask' redeclared as different kind of symbol kernel test robot
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=202201160121.tUtiMcTY-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.