From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, Zhang Rui <rui.zhang@intel.com>,
Eduardo Valentin <edubezval@gmail.com>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
Javi Merino <javi.merino@arm.com>, Leo Yan <leo.yan@linaro.org>
Subject: Re: [PATCH] thermal: re-calculate k_po/k_pu when update sustainable power
Date: Wed, 30 Dec 2015 14:22:58 +0800 [thread overview]
Message-ID: <201512301433.KYI1yWUZ%fengguang.wu@intel.com> (raw)
In-Reply-To: <1451455950-23633-1-git-send-email-leo.yan@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 1896 bytes --]
Hi Leo,
[auto build test ERROR on thermal/next]
[also build test ERROR on v4.4-rc7 next-20151223]
[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/Leo-Yan/thermal-re-calculate-k_po-k_pu-when-update-sustainable-power/20151230-141446
base: https://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next
config: x86_64-randconfig-x007-12291635 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/thermal/thermal_core.c:1007:33: sparse: no member 'kpo' in struct thermal_zone_params
drivers/thermal/thermal_core.c:1008:33: sparse: no member 'kpu' in struct thermal_zone_params
drivers/thermal/thermal_core.c: In function 'sustainable_power_store':
>> drivers/thermal/thermal_core.c:1007:26: error: 'struct thermal_zone_params' has no member named 'kpo'
tz->tzp->k_po = (tz->tzp->kpo * sustainable_power) / old_val;
^
>> drivers/thermal/thermal_core.c:1008:26: error: 'struct thermal_zone_params' has no member named 'kpu'
tz->tzp->k_pu = (tz->tzp->kpu * sustainable_power) / old_val;
^
vim +1007 drivers/thermal/thermal_core.c
1001 return -EINVAL;
1002
1003 old_val = tz->tzp->sustainable_power;
1004
1005 tz->tzp->sustainable_power = sustainable_power;
1006
> 1007 tz->tzp->k_po = (tz->tzp->kpo * sustainable_power) / old_val;
> 1008 tz->tzp->k_pu = (tz->tzp->kpu * sustainable_power) / old_val;
1009 return count;
1010 }
1011 static DEVICE_ATTR(sustainable_power, S_IWUSR | S_IRUGO, sustainable_power_show,
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 23356 bytes --]
prev parent reply other threads:[~2015-12-30 6:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-30 6:12 [PATCH] thermal: re-calculate k_po/k_pu when update sustainable power Leo Yan
2015-12-30 6:22 ` kbuild test robot [this message]
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=201512301433.KYI1yWUZ%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=edubezval@gmail.com \
--cc=javi.merino@arm.com \
--cc=kbuild-all@01.org \
--cc=leo.yan@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rui.zhang@intel.com \
/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