public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: kbuild-all@01.org, linux-pm@vger.kernel.org
Subject: [vireshk:opp/genpd-performance-state 10/11] drivers/base/power/domain.c:1814:14: error: invalid type argument of '->' (have 'struct device')
Date: Mon, 20 Mar 2017 17:58:31 +0800	[thread overview]
Message-ID: <201703201725.FTs5fapC%fengguang.wu@intel.com> (raw)

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

tree:   https://git.linaro.org/people/vireshk/linux opp/genpd-performance-state
head:   1c80aea883c2a8481a5266a5fdd0d250b28f4817
commit: 26603b1348d6153199cae0a2f9aff115c888d5b0 [10/11] PM / Domain: Add struct device to genpd
config: i386-randconfig-x015-201712 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 26603b1348d6153199cae0a2f9aff115c888d5b0
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the vireshk/opp/genpd-performance-state HEAD 1c80aea883c2a8481a5266a5fdd0d250b28f4817 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/base/power/domain.c: In function 'of_genpd_add_provider_simple':
>> drivers/base/power/domain.c:1814:14: error: invalid type argument of '->' (have 'struct device')
       genpd->dev->of_node = np;
                 ^~

vim +1814 drivers/base/power/domain.c

  1808	
  1809		if (pm_genpd_present(genpd)) {
  1810			ret = genpd_add_provider(np, genpd_xlate_simple, genpd);
  1811			if (!ret) {
  1812				genpd->provider = &np->fwnode;
  1813				genpd->has_provider = true;
> 1814				genpd->dev->of_node = np;
  1815			}
  1816		}
  1817	

---
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: 33951 bytes --]

             reply	other threads:[~2017-03-20 10:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-20  9:58 kbuild test robot [this message]
2017-03-20 11:02 ` [vireshk:opp/genpd-performance-state 10/11] drivers/base/power/domain.c:1814:14: error: invalid type argument of '->' (have 'struct device') Viresh Kumar

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=201703201725.FTs5fapC%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=viresh.kumar@linaro.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