From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 8547/12739] drivers/char/pcmcia/synclink_cs.c:294:0: warning: "IRQ_TIMER" redefined
Date: Wed, 20 Nov 2019 05:37:54 +0800 [thread overview]
Message-ID: <201911200543.cms8x9kQ%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3636 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 5d1131b4d61e52e5702e0fa4bcbec81ac7d6ef52
commit: a4c3733d32a72f11dee86d0731d7565aa6ebe22d [8547/12739] riscv: abstract out CSR names for supervisor vs machine mode
config: riscv-allmodconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout a4c3733d32a72f11dee86d0731d7565aa6ebe22d
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/char/pcmcia/synclink_cs.c:294:0: warning: "IRQ_TIMER" redefined
#define IRQ_TIMER BIT11 // timer interrupt
In file included from arch/riscv/include/asm/ptrace.h:10:0,
from arch/riscv/include/asm/processor.h:11,
from arch/riscv/include/asm/irqflags.h:10,
from include/linux/irqflags.h:16,
from arch/riscv/include/asm/bitops.h:14,
from include/linux/bitops.h:26,
from include/linux/kernel.h:12,
from include/linux/list.h:9,
from include/linux/module.h:9,
from drivers/char/pcmcia/synclink_cs.c:38:
arch/riscv/include/asm/csr.h:135:0: note: this is the location of the previous definition
# define IRQ_TIMER IRQ_S_TIMER
vim +/IRQ_TIMER +294 drivers/char/pcmcia/synclink_cs.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 289
^1da177e4c3f41 Linus Torvalds 2005-04-16 290 #define IRQ_BREAK_ON BIT15 // rx break detected
^1da177e4c3f41 Linus Torvalds 2005-04-16 291 #define IRQ_DATAOVERRUN BIT14 // receive data overflow
^1da177e4c3f41 Linus Torvalds 2005-04-16 292 #define IRQ_ALLSENT BIT13 // all sent
^1da177e4c3f41 Linus Torvalds 2005-04-16 293 #define IRQ_UNDERRUN BIT12 // transmit data underrun
^1da177e4c3f41 Linus Torvalds 2005-04-16 @294 #define IRQ_TIMER BIT11 // timer interrupt
^1da177e4c3f41 Linus Torvalds 2005-04-16 295 #define IRQ_CTS BIT10 // CTS status change
^1da177e4c3f41 Linus Torvalds 2005-04-16 296 #define IRQ_TXREPEAT BIT9 // tx message repeat
^1da177e4c3f41 Linus Torvalds 2005-04-16 297 #define IRQ_TXFIFO BIT8 // transmit pool ready
^1da177e4c3f41 Linus Torvalds 2005-04-16 298 #define IRQ_RXEOM BIT7 // receive message end
^1da177e4c3f41 Linus Torvalds 2005-04-16 299 #define IRQ_EXITHUNT BIT6 // receive frame start
^1da177e4c3f41 Linus Torvalds 2005-04-16 300 #define IRQ_RXTIME BIT6 // rx char timeout
^1da177e4c3f41 Linus Torvalds 2005-04-16 301 #define IRQ_DCD BIT2 // carrier detect status change
^1da177e4c3f41 Linus Torvalds 2005-04-16 302 #define IRQ_OVERRUN BIT1 // receive frame overflow
^1da177e4c3f41 Linus Torvalds 2005-04-16 303 #define IRQ_RXFIFO BIT0 // receive pool full
^1da177e4c3f41 Linus Torvalds 2005-04-16 304
:::::: The code at line 294 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 60019 bytes --]
reply other threads:[~2019-11-19 21:37 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=201911200543.cms8x9kQ%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.