[tty:tty-testing 57/88] drivers/tty/serial/8250/8250_fintek.c:34:0: warning: "IRQ_MODE" redefined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
head:   755dd8aa12d162e40f3c5bd0031ad2f29ce6bc68
commit: 4da22f1418cb6f09e974499794db2f5e59fe8090 [57/88] serial: 8250_fintek: fix the mismatched IRQ mode
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 4da22f1418cb6f09e974499794db2f5e59fe8090
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All warnings (new ones prefixed by >>):

>> drivers/tty/serial/8250/8250_fintek.c:34:0: warning: "IRQ_MODE" redefined
    #define IRQ_MODE 0x70
    ^
   In file included from arch/arm/include/asm/ptrace.h:13:0,
                    from arch/arm/include/asm/irqflags.h:6,
                    from include/linux/irqflags.h:15,
                    from arch/arm/include/asm/bitops.h:27,
                    from include/linux/bitops.h:36,
                    from include/linux/kernel.h:10,
                    from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from drivers/tty/serial/8250/8250_fintek.c:11:
   arch/arm/include/uapi/asm/ptrace.h:55:0: note: this is the location of the previous definition
    #define IRQ_MODE 0x00000012
    ^

vim +/IRQ_MODE +34 drivers/tty/serial/8250/8250_fintek.c

    18	
    19	#define ADDR_PORT 0
    20	#define DATA_PORT 1
    21	#define EXIT_KEY 0xAA
    22	#define CHIP_ID1  0x20
    23	#define CHIP_ID2  0x21
    24	#define CHIP_ID_0 0x1602
    25	#define CHIP_ID_1 0x0501
    26	#define VENDOR_ID1 0x23
    27	#define VENDOR_ID1_VAL 0x19
    28	#define VENDOR_ID2 0x24
    29	#define VENDOR_ID2_VAL 0x34
    30	#define IO_ADDR1 0x61
    31	#define IO_ADDR2 0x60
    32	#define LDN 0x7
    33	
  > 34	#define IRQ_MODE	0x70
    35	#define IRQ_SHARE	BIT(4)
    36	#define IRQ_MODE_MASK	(BIT(6) | BIT(5))
    37	#define IRQ_LEVEL_LOW	0
    38	#define IRQ_EDGE_HIGH	BIT(5)
    39	
    40	#define RS485  0xF0
    41	#define RTS_INVERT BIT(5)
    42	#define RS485_URA BIT(4)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux