Re: [PATCH v3 11/12] tty: serial: 8250: Remove SERIAL_DEBUG_PNP macro

From: kbuild test robot
Date: Fri Jan 08 2016 - 05:53:49 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]

url: https://github.com/0day-ci/linux/commits/Anton-Wuerfel/tty-serial-8250-Fix-checkpatch-warnings/20160108-182908
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
config: x86_64-randconfig-i0-201601 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/tty/serial/8250/8250_pnp.c: In function 'serial_pnp_probe':
>> drivers/tty/serial/8250/8250_pnp.c:467:2: error: implicit declaration of function 'dev_debug' [-Werror=implicit-function-declaration]
dev_debug(&dev->dev,
^
cc1: some warnings being treated as errors

vim +/dev_debug +467 drivers/tty/serial/8250/8250_pnp.c

461 uart.port.mapbase = pnp_mem_start(dev, 0);
462 uart.port.iotype = UPIO_MEM;
463 uart.port.flags = UPF_IOREMAP;
464 } else
465 return -ENODEV;
466
> 467 dev_debug(&dev->dev,
468 "Setup PNP port: port %x, mem 0x%lx, irq %d, type %d\n",
469 uart.port.iobase, uart.port.mapbase,
470 uart.port.irq, uart.port.iotype);

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

Attachment: .config.gz
Description: Binary data