Re: [PATCH v3 10/12] tty: serial: 8250: Suitably replace printk

From: kbuild test robot
Date: Fri Jan 08 2016 - 05:54:58 EST

Hi Phillip,

[auto build test ERROR on tty/tty-testing]
[also build test ERROR on v4.4-rc8 next-20160108]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

base: tty-testing
config: m68k-allyesconfig (attached as .config)
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k

All errors (new ones prefixed by >>):

drivers/tty/serial/8250/8250_hp300.c: In function 'hpdca_init_one':
>> drivers/tty/serial/8250/8250_hp300.c:182:15: error: 'dev' undeclared (first use in this function)
drivers/tty/serial/8250/8250_hp300.c:182:15: note: each undeclared identifier is reported only once for each function it appears in

vim +/dev +182 drivers/tty/serial/8250/8250_hp300.c

176 uart.port.membase = (char *)(uart.port.mapbase + DIO_VIRADDRBASE);
177 uart.port.regshift = 1;
178 = &d->dev;
179 line = serial8250_register_8250_port(&uart);
181 if (line < 0) {
> 182 dev_notice(&dev->dev,
183 "8250_hp300: register_serial() DCA scode %d irq %d failed\n",
184 d->scode, uart.port.irq);
185 return -ENOMEM;

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: Binary data