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

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

 



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: m68k-allyesconfig (attached as .config)
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
        # 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)
      dev_notice(&dev->dev,
                  ^
   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		uart.port.dev = &d->dev;
   179		line = serial8250_register_8250_port(&uart);
   180	
   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
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux