Re: [PATCH] serial: Do not treat the IIR register as a bitfield
From: kbuild test robot
Date: Thu Mar 30 2017 - 06:22:59 EST
Hi Olliver,
[auto build test ERROR on tty/tty-testing]
[also build test ERROR on v4.11-rc4 next-20170330]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Olliver-Schinagl/serial-Do-not-treat-the-IIR-register-as-a-bitfield/20170330-165826
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
config: x86_64-randconfig-i0-201713 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/net//irda/smsc-ircc2.c: In function 'smsc_ircc_interrupt_sir':
>> drivers/net//irda/smsc-ircc2.c:1582:33: error: 'UART_IIR_ID' undeclared (first use in this function)
iir = inb(iobase + UART_IIR) & UART_IIR_ID;
^
drivers/net//irda/smsc-ircc2.c:1582:33: note: each undeclared identifier is reported only once for each function it appears in
vim +/UART_IIR_ID +1582 drivers/net//irda/smsc-ircc2.c
^1da177e Linus Torvalds 2005-04-16 1576
25985edc Lucas De Marchi 2011-03-30 1577 /* Already locked coming here in smsc_ircc_interrupt() */
^1da177e Linus Torvalds 2005-04-16 1578 /*spin_lock(&self->lock);*/
^1da177e Linus Torvalds 2005-04-16 1579
^1da177e Linus Torvalds 2005-04-16 1580 iobase = self->io.sir_base;
^1da177e Linus Torvalds 2005-04-16 1581
^1da177e Linus Torvalds 2005-04-16 @1582 iir = inb(iobase + UART_IIR) & UART_IIR_ID;
^1da177e Linus Torvalds 2005-04-16 1583 if (iir == 0)
^1da177e Linus Torvalds 2005-04-16 1584 return IRQ_NONE;
^1da177e Linus Torvalds 2005-04-16 1585 while (iir) {
:::::: The code at line 1582 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip