From: kbuild test robot <lkp@intel.com>
To: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Cc: kbuild-all@01.org, linuxppc-dev@ozlabs.org,
linux-kernel@vger.kernel.org, rjw@rjwysocki.net,
viresh.kumar@linaro.org, linux-pm@vger.kernel.org, pc@us.ibm.com,
Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Subject: Re: [PATCH v2 2/2] cpufreq: powernv: Redesign the presentation of throttle notification
Date: Sat, 2 Jan 2016 10:08:08 +0800 [thread overview]
Message-ID: <201601021023.7snNaAgo%fengguang.wu@intel.com> (raw)
In-Reply-To: <1451686914-3761-3-git-send-email-shilpa.bhat@linux.vnet.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 5379 bytes --]
Hi Shilpasri,
[auto build test WARNING on tip/perf/core]
[also build test WARNING on v4.4-rc7 next-20151231]
[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/Shilpasri-G-Bhat/cpufreq-powernv-tracing-Add-powernv_throttle-tracepoint/20160102-062606
config: powerpc-allmodconfig (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=powerpc
All warnings (new ones prefixed by >>):
drivers/cpufreq/powernv-cpufreq.c: In function 'occ_reset_show':
drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
kstrtoint(kobj->name + 4, 0, &id); \
^
>> drivers/cpufreq/powernv-cpufreq.c:625:1: note: in expansion of macro 'define_throttle_reason_attr'
define_throttle_reason_attr(occ_reset, OCC_RESET_THROTTLE);
^
drivers/cpufreq/powernv-cpufreq.c: In function 'over_current_show':
drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
kstrtoint(kobj->name + 4, 0, &id); \
^
drivers/cpufreq/powernv-cpufreq.c:624:1: note: in expansion of macro 'define_throttle_reason_attr'
define_throttle_reason_attr(over_current, OVERCURRENT);
^
drivers/cpufreq/powernv-cpufreq.c: In function 'power_supply_failure_show':
drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
kstrtoint(kobj->name + 4, 0, &id); \
^
drivers/cpufreq/powernv-cpufreq.c:623:1: note: in expansion of macro 'define_throttle_reason_attr'
define_throttle_reason_attr(power_supply_failure, POWER_SUPPLY_FAILURE);
^
drivers/cpufreq/powernv-cpufreq.c: In function 'cpu_over_temperature_show':
drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
kstrtoint(kobj->name + 4, 0, &id); \
^
drivers/cpufreq/powernv-cpufreq.c:622:1: note: in expansion of macro 'define_throttle_reason_attr'
define_throttle_reason_attr(cpu_over_temperature, CPU_OVERTEMP);
^
drivers/cpufreq/powernv-cpufreq.c: In function 'power_cap_show':
drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
kstrtoint(kobj->name + 4, 0, &id); \
^
drivers/cpufreq/powernv-cpufreq.c:621:1: note: in expansion of macro 'define_throttle_reason_attr'
define_throttle_reason_attr(power_cap, POWERCAP);
^
drivers/cpufreq/powernv-cpufreq.c: In function 'throttle_reset_show':
drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
kstrtoint(kobj->name + 4, 0, &id); \
^
drivers/cpufreq/powernv-cpufreq.c:620:1: note: in expansion of macro 'define_throttle_reason_attr'
define_throttle_reason_attr(throttle_reset, NO_THROTTLE);
^
drivers/cpufreq/powernv-cpufreq.c: In function 'throttle_stat_show':
drivers/cpufreq/powernv-cpufreq.c:589:2: warning: ignoring return value of 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
kstrtoint(kobj->name + 4, 0, &id);
^
drivers/cpufreq/powernv-cpufreq.c: In function 'throttle_freq_show':
drivers/cpufreq/powernv-cpufreq.c:568:2: warning: ignoring return value of 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
kstrtoint(kobj->name + 4, 0, &id);
^
vim +/define_throttle_reason_attr +625 drivers/cpufreq/powernv-cpufreq.c
603 #define define_throttle_reason_attr(attr_name, val) \
604 static ssize_t attr_name##_show(struct kobject *kobj, \
605 struct kobj_attribute *attr, char *buf) \
606 { \
607 int i, id; \
608 \
> 609 kstrtoint(kobj->name + 4, 0, &id); \
610 for (i = 0; i < nr_chips; i++) \
611 if (chips[i].id == id) \
612 break; \
613 \
614 return sprintf(buf, "%d\n", chips[i].reason[val]); \
615 } \
616 \
617 static struct kobj_attribute attr_##attr_name = \
618 __ATTR(attr_name, 0444, attr_name##_show, NULL)
619
620 define_throttle_reason_attr(throttle_reset, NO_THROTTLE);
621 define_throttle_reason_attr(power_cap, POWERCAP);
622 define_throttle_reason_attr(cpu_over_temperature, CPU_OVERTEMP);
623 define_throttle_reason_attr(power_supply_failure, POWER_SUPPLY_FAILURE);
624 define_throttle_reason_attr(over_current, OVERCURRENT);
> 625 define_throttle_reason_attr(occ_reset, OCC_RESET_THROTTLE);
626
627 static struct attribute *throttle_reason_attrs[] = {
628 &attr_throttle_reset.attr,
---
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: 46891 bytes --]
next prev parent reply other threads:[~2016-01-02 2:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-01 22:21 [PATCH v2 0/2] cpufreq: powernv: Redesign the presentation of throttle notification Shilpasri G Bhat
2016-01-01 22:21 ` [PATCH v2 1/2] cpufreq: powernv/tracing: Add powernv_throttle tracepoint Shilpasri G Bhat
2016-01-01 22:21 ` [PATCH v2 2/2] cpufreq: powernv: Redesign the presentation of throttle notification Shilpasri G Bhat
2016-01-01 23:01 ` kbuild test robot
2016-01-02 2:08 ` kbuild test robot [this message]
2016-01-04 9:25 ` [PATCH v3 0/2] " Shilpasri G Bhat
2016-01-04 9:25 ` [PATCH v3 1/2] cpufreq: powernv/tracing: Add powernv_throttle tracepoint Shilpasri G Bhat
2016-01-04 9:25 ` [PATCH v3 2/2] cpufreq: powernv: Redesign the presentation of throttle notification Shilpasri G Bhat
2016-01-06 6:51 ` [PATCH v3 0/2] " Stewart Smith
2016-01-11 20:54 ` [PATCH v4 0/4] " Shilpasri G Bhat
2016-01-11 20:54 ` [PATCH v4 1/4] cpufreq: powernv: Remove cpu_to_chip_id() from hot-path Shilpasri G Bhat
2016-01-11 20:54 ` [PATCH v4 2/4] cpufreq: powernv/tracing: Add powernv_throttle tracepoint Shilpasri G Bhat
2016-01-11 20:54 ` [PATCH v4 3/4] cpufreq: powernv: Add a trace print for the throttle event Shilpasri G Bhat
2016-01-11 20:54 ` [PATCH v4 4/4] cpufreq: powernv: Add sysfs attributes to show throttle stats Shilpasri G Bhat
2016-01-11 22:23 ` [PATCH v4 0/4] cpufreq: powernv: Redesign the presentation of throttle notification Greg KH
2016-01-12 2:32 ` 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=201601021023.7snNaAgo%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=pc@us.ibm.com \
--cc=rjw@rjwysocki.net \
--cc=shilpa.bhat@linux.vnet.ibm.com \
--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;
as well as URLs for NNTP newsgroup(s).