Linux Serial subsystem development
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, gregkh@linuxfoundation.org,
	linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Franklin S Cooper Jr <fcooper@ti.com>
Subject: Re: [PATCH] serial: 8250_of: Add basic PM runtime support
Date: Thu, 3 Aug 2017 15:43:04 +0800	[thread overview]
Message-ID: <201708031530.elCfGZbv%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170802163218.14377-1-fcooper@ti.com>

[-- Attachment #1: Type: text/plain, Size: 2217 bytes --]

Hi Franklin,

[auto build test ERROR on tty/tty-testing]
[also build test ERROR on next-20170802]
[cannot apply to v4.13-rc3]
[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/Franklin-S-Cooper-Jr/serial-8250_of-Add-basic-PM-runtime-support/20170803-151414
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

   drivers/tty//serial/8250/8250_of.c: In function 'of_serial_suspend':
>> drivers/tty//serial/8250/8250_of.c:273:24: error: 'ofdev' undeclared (first use in this function)
      pm_runtime_put_sync(&ofdev->dev);
                           ^~~~~
   drivers/tty//serial/8250/8250_of.c:273:24: note: each undeclared identifier is reported only once for each function it appears in
   drivers/tty//serial/8250/8250_of.c: In function 'of_serial_resume':
   drivers/tty//serial/8250/8250_of.c:286:24: error: 'ofdev' undeclared (first use in this function)
      pm_runtime_get_sync(&ofdev->dev);
                           ^~~~~

vim +/ofdev +273 drivers/tty//serial/8250/8250_of.c

   262	
   263	#ifdef CONFIG_PM_SLEEP
   264	static int of_serial_suspend(struct device *dev)
   265	{
   266		struct of_serial_info *info = dev_get_drvdata(dev);
   267		struct uart_8250_port *port8250 = serial8250_get_port(info->line);
   268		struct uart_port *port = &port8250->port;
   269	
   270		serial8250_suspend_port(info->line);
   271	
   272		if ((!uart_console(port) || console_suspend_enabled)) {
 > 273			pm_runtime_put_sync(&ofdev->dev);
   274			clk_disable_unprepare(info->clk);
   275		}
   276		return 0;
   277	}
   278	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 51285 bytes --]

  reply	other threads:[~2017-08-03  7:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02 16:32 [PATCH] serial: 8250_of: Add basic PM runtime support Franklin S Cooper Jr
2017-08-03  7:43 ` kbuild test robot [this message]
2017-08-15  0:35 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201708031530.elCfGZbv%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=fcooper@ti.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox