All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 8547/12739] drivers/char/pcmcia/synclink_cs.c:294:0: warning: "IRQ_TIMER" redefined
@ 2019-11-19 21:37 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-11-19 21:37 UTC (permalink / raw)
  To: kbuild-all

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-19 21:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-19 21:37 [linux-next:master 8547/12739] drivers/char/pcmcia/synclink_cs.c:294:0: warning: "IRQ_TIMER" redefined kbuild test robot

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.