* [pm:bleeding-edge 50/51] include/linux/pm_qos.h:194:7: error: 'DEV_PM_QOS_MIN_FREQUENCY' undeclared; did you mean 'DEV_PM_QOS_RESUME_LATENCY'?
@ 2019-10-17 21:13 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-17 21:13 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: kbuild-all, linux-acpi, devel, linux-pm
[-- Attachment #1: Type: text/plain, Size: 5112 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: c1c487f8d64d46058ee2f4ca696eb1155a58b6f1
commit: ec4620f4aaa978842baf8ca0787fc9dc8de9c30a [50/51] PM: QoS: Drop frequency QoS types from device PM QoS
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
git checkout ec4620f4aaa978842baf8ca0787fc9dc8de9c30a
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/cpufreq.h:16:0,
from arch/x86/kernel/tsc.c:11:
include/linux/pm_qos.h: In function 'dev_pm_qos_read_value':
>> include/linux/pm_qos.h:194:7: error: 'DEV_PM_QOS_MIN_FREQUENCY' undeclared (first use in this function); did you mean 'DEV_PM_QOS_RESUME_LATENCY'?
case DEV_PM_QOS_MIN_FREQUENCY:
^~~~~~~~~~~~~~~~~~~~~~~~
DEV_PM_QOS_RESUME_LATENCY
include/linux/pm_qos.h:194:7: note: each undeclared identifier is reported only once for each function it appears in
>> include/linux/pm_qos.h:195:10: error: 'PM_QOS_MIN_FREQUENCY_DEFAULT_VALUE' undeclared (first use in this function); did you mean 'PM_QOS_RESUME_LATENCY_DEFAULT_VALUE'?
return PM_QOS_MIN_FREQUENCY_DEFAULT_VALUE;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PM_QOS_RESUME_LATENCY_DEFAULT_VALUE
>> include/linux/pm_qos.h:196:7: error: 'DEV_PM_QOS_MAX_FREQUENCY' undeclared (first use in this function); did you mean 'DEV_PM_QOS_MIN_FREQUENCY'?
case DEV_PM_QOS_MAX_FREQUENCY:
^~~~~~~~~~~~~~~~~~~~~~~~
DEV_PM_QOS_MIN_FREQUENCY
>> include/linux/pm_qos.h:197:10: error: 'PM_QOS_MAX_FREQUENCY_DEFAULT_VALUE' undeclared (first use in this function); did you mean 'PM_QOS_MIN_FREQUENCY_DEFAULT_VALUE'?
return PM_QOS_MAX_FREQUENCY_DEFAULT_VALUE;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PM_QOS_MIN_FREQUENCY_DEFAULT_VALUE
vim +194 include/linux/pm_qos.h
6dbf5cea05a709 Rafael J. Wysocki 2017-02-24 172
8262331eaaf751 Viresh Kumar 2019-07-04 173 static inline s32 dev_pm_qos_raw_resume_latency(struct device *dev)
6dbf5cea05a709 Rafael J. Wysocki 2017-02-24 174 {
6dbf5cea05a709 Rafael J. Wysocki 2017-02-24 175 return IS_ERR_OR_NULL(dev->power.qos) ?
0759e80b84e34a Rafael J. Wysocki 2017-11-07 176 PM_QOS_RESUME_LATENCY_NO_CONSTRAINT :
0759e80b84e34a Rafael J. Wysocki 2017-11-07 177 pm_qos_read_value(&dev->power.qos->resume_latency);
6dbf5cea05a709 Rafael J. Wysocki 2017-02-24 178 }
e8db0be1245de1 Jean Pihet 2011-08-25 179 #else
ae0fb4b72c8db7 Rafael J. Wysocki 2012-10-23 180 static inline enum pm_qos_flags_status __dev_pm_qos_flags(struct device *dev,
ae0fb4b72c8db7 Rafael J. Wysocki 2012-10-23 181 s32 mask)
ae0fb4b72c8db7 Rafael J. Wysocki 2012-10-23 182 { return PM_QOS_FLAGS_UNDEFINED; }
ae0fb4b72c8db7 Rafael J. Wysocki 2012-10-23 183 static inline enum pm_qos_flags_status dev_pm_qos_flags(struct device *dev,
ae0fb4b72c8db7 Rafael J. Wysocki 2012-10-23 184 s32 mask)
ae0fb4b72c8db7 Rafael J. Wysocki 2012-10-23 185 { return PM_QOS_FLAGS_UNDEFINED; }
8262331eaaf751 Viresh Kumar 2019-07-04 186 static inline s32 __dev_pm_qos_resume_latency(struct device *dev)
0759e80b84e34a Rafael J. Wysocki 2017-11-07 187 { return PM_QOS_RESUME_LATENCY_NO_CONSTRAINT; }
2a79ea5ec53973 Viresh Kumar 2019-07-04 188 static inline s32 dev_pm_qos_read_value(struct device *dev,
2a79ea5ec53973 Viresh Kumar 2019-07-04 189 enum dev_pm_qos_req_type type)
2a79ea5ec53973 Viresh Kumar 2019-07-04 190 {
2a79ea5ec53973 Viresh Kumar 2019-07-04 191 switch (type) {
2a79ea5ec53973 Viresh Kumar 2019-07-04 192 case DEV_PM_QOS_RESUME_LATENCY:
2a79ea5ec53973 Viresh Kumar 2019-07-04 193 return PM_QOS_RESUME_LATENCY_NO_CONSTRAINT;
208637b37824c8 Viresh Kumar 2019-07-04 @194 case DEV_PM_QOS_MIN_FREQUENCY:
208637b37824c8 Viresh Kumar 2019-07-04 @195 return PM_QOS_MIN_FREQUENCY_DEFAULT_VALUE;
208637b37824c8 Viresh Kumar 2019-07-04 @196 case DEV_PM_QOS_MAX_FREQUENCY:
208637b37824c8 Viresh Kumar 2019-07-04 @197 return PM_QOS_MAX_FREQUENCY_DEFAULT_VALUE;
2a79ea5ec53973 Viresh Kumar 2019-07-04 198 default:
2a79ea5ec53973 Viresh Kumar 2019-07-04 199 WARN_ON(1);
2a79ea5ec53973 Viresh Kumar 2019-07-04 200 return 0;
2a79ea5ec53973 Viresh Kumar 2019-07-04 201 }
2a79ea5ec53973 Viresh Kumar 2019-07-04 202 }
2a79ea5ec53973 Viresh Kumar 2019-07-04 203
:::::: The code at line 194 was first introduced by commit
:::::: 208637b37824c8956fe28d277835a403ee35fa84 PM / QoS: Add support for MIN/MAX frequency constraints
:::::: TO: Viresh Kumar <viresh.kumar@linaro.org>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
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: 7207 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-17 21:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-17 21:13 [pm:bleeding-edge 50/51] include/linux/pm_qos.h:194:7: error: 'DEV_PM_QOS_MIN_FREQUENCY' undeclared; did you mean 'DEV_PM_QOS_RESUME_LATENCY'? kbuild test robot
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).