lkml.org 
[lkml]   [2017]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] serial: Do not treat the IIR register as a bitfield
Hi Olliver,

[auto build test ERROR on tty/tty-testing]
[also build test ERROR on v4.11-rc4 next-20170329]
[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: i386-randconfig-s0-201713 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/net/irda/ali-ircc.c: In function 'ali_ircc_sir_interrupt':
>> drivers/net/irda/ali-ircc.c:816:31: error: 'UART_IIR_ID' undeclared (first use in this function)
iir = inb(iobase+UART_IIR) & UART_IIR_ID;
^~~~~~~~~~~
drivers/net/irda/ali-ircc.c:816:31: note: each undeclared identifier is reported only once for each function it appears in

vim +/UART_IIR_ID +816 drivers/net/irda/ali-ircc.c

^1da177e Linus Torvalds 2005-04-16 810 int iobase;
^1da177e Linus Torvalds 2005-04-16 811 int iir, lsr;
^1da177e Linus Torvalds 2005-04-16 812
^1da177e Linus Torvalds 2005-04-16 813
^1da177e Linus Torvalds 2005-04-16 814 iobase = self->io.sir_base;
^1da177e Linus Torvalds 2005-04-16 815
^1da177e Linus Torvalds 2005-04-16 @816 iir = inb(iobase+UART_IIR) & UART_IIR_ID;
^1da177e Linus Torvalds 2005-04-16 817 if (iir) {
^1da177e Linus Torvalds 2005-04-16 818 /* Clear interrupt */
^1da177e Linus Torvalds 2005-04-16 819 lsr = inb(iobase+UART_LSR);

:::::: The code at line 816 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/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-03-30 12:08    [W:0.192 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site