From: kbuild test robot <lkp@intel.com>
To: Dave Gerlach <d-gerlach@ti.com>
Cc: kbuild-all@01.org, Viresh Kumar <viresh.kumar@linaro.org>,
"Rafael J . Wysocki" <rjw@rjwysocki.net>,
sboyd@codeaurora.org, linaro-kernel@lists.linaro.org,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
Mark Brown <broonie@kernel.org>,
robh@kernel.org, Vincent Guittot <vincent.guittot@linaro.org>,
Nishanth Menon <nm@ti.com>, Dave Gerlach <d-gerlach@ti.com>
Subject: Re: [TEST PATCH] WIP: Test OPP multi regulator support with ti-opp-domain driver
Date: Wed, 16 Nov 2016 10:01:24 +0800 [thread overview]
Message-ID: <201611160903.EnCUGBeN%fengguang.wu@intel.com> (raw)
In-Reply-To: <20161115221059.31629-1-d-gerlach@ti.com>
[-- Attachment #1: Type: text/plain, Size: 11357 bytes --]
Hi Dave,
[auto build test WARNING on robh/for-next]
[also build test WARNING on v4.9-rc5 next-20161115]
[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/Dave-Gerlach/WIP-Test-OPP-multi-regulator-support-with-ti-opp-domain-driver/20161116-084525
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
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=m68k
All warnings (new ones prefixed by >>):
drivers/soc/ti/ti-opp-domain.c:231:49: warning: 'struct dev_pm_set_opp_data' declared inside parameter list
int ti_oppdm_set_opp(struct device *dev, struct dev_pm_set_opp_data *data)
^
drivers/soc/ti/ti-opp-domain.c:231:49: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/soc/ti/ti-opp-domain.c: In function 'ti_oppdm_set_opp':
drivers/soc/ti/ti-opp-domain.c:233:50: error: dereferencing pointer to incomplete type
struct dev_pm_opp_supply *old_supply_vdd = &data->old_opp.supplies[0];
^
drivers/soc/ti/ti-opp-domain.c:234:50: error: dereferencing pointer to incomplete type
struct dev_pm_opp_supply *old_supply_vbb = &data->old_opp.supplies[1];
^
drivers/soc/ti/ti-opp-domain.c:235:50: error: dereferencing pointer to incomplete type
struct dev_pm_opp_supply *new_supply_vdd = &data->new_opp.supplies[0];
^
drivers/soc/ti/ti-opp-domain.c:236:50: error: dereferencing pointer to incomplete type
struct dev_pm_opp_supply *new_supply_vbb = &data->new_opp.supplies[1];
^
drivers/soc/ti/ti-opp-domain.c:237:31: error: dereferencing pointer to incomplete type
unsigned long old_freq = data->old_opp.rate, freq = data->new_opp.rate;
^
drivers/soc/ti/ti-opp-domain.c:237:58: error: dereferencing pointer to incomplete type
unsigned long old_freq = data->old_opp.rate, freq = data->new_opp.rate;
^
drivers/soc/ti/ti-opp-domain.c:238:24: error: dereferencing pointer to incomplete type
struct clk *clk = data->clk;
^
drivers/soc/ti/ti-opp-domain.c:239:34: error: dereferencing pointer to incomplete type
struct regulator *vdd_reg = data->regulators[0];
^
drivers/soc/ti/ti-opp-domain.c:240:34: error: dereferencing pointer to incomplete type
struct regulator *vbb_reg = data->regulators[1];
^
drivers/soc/ti/ti-opp-domain.c:244:71: error: dereferencing pointer to incomplete type
vdd_uv = oppdm_get_optimal_vdd_voltage(dev, &opp_data, new_supply_vbb->u_volt);
^
In file included from include/linux/printk.h:305:0,
from include/linux/kernel.h:13,
from include/linux/clk.h:16,
from drivers/soc/ti/ti-opp-domain.c:14:
drivers/soc/ti/ti-opp-domain.c:251:18: error: dereferencing pointer to incomplete type
new_supply_vbb->u_volt, new_supply_vbb->u_volt_min,
^
include/linux/dynamic_debug.h:135:9: note: in definition of macro 'dynamic_dev_dbg'
##__VA_ARGS__); \
^
>> drivers/soc/ti/ti-opp-domain.c:250:3: note: in expansion of macro 'dev_dbg'
dev_dbg(dev, "vbb pre %luuV[min %luuV max %luuV]\n",
^
drivers/soc/ti/ti-opp-domain.c:251:42: error: dereferencing pointer to incomplete type
new_supply_vbb->u_volt, new_supply_vbb->u_volt_min,
^
include/linux/dynamic_debug.h:135:9: note: in definition of macro 'dynamic_dev_dbg'
##__VA_ARGS__); \
^
>> drivers/soc/ti/ti-opp-domain.c:250:3: note: in expansion of macro 'dev_dbg'
dev_dbg(dev, "vbb pre %luuV[min %luuV max %luuV]\n",
^
drivers/soc/ti/ti-opp-domain.c:252:18: error: dereferencing pointer to incomplete type
new_supply_vbb->u_volt_max);
^
include/linux/dynamic_debug.h:135:9: note: in definition of macro 'dynamic_dev_dbg'
##__VA_ARGS__); \
^
>> drivers/soc/ti/ti-opp-domain.c:250:3: note: in expansion of macro 'dev_dbg'
dev_dbg(dev, "vbb pre %luuV[min %luuV max %luuV]\n",
^
drivers/soc/ti/ti-opp-domain.c:255:25: error: dereferencing pointer to incomplete type
new_supply_vbb->u_volt_min,
^
drivers/soc/ti/ti-opp-domain.c:256:25: error: dereferencing pointer to incomplete type
new_supply_vbb->u_volt,
^
drivers/soc/ti/ti-opp-domain.c:257:25: error: dereferencing pointer to incomplete type
new_supply_vbb->u_volt_max);
^
drivers/soc/ti/ti-opp-domain.c:260:19: error: dereferencing pointer to incomplete type
new_supply_vbb->u_volt, new_supply_vbb->u_volt_min,
^
drivers/soc/ti/ti-opp-domain.c:260:43: error: dereferencing pointer to incomplete type
new_supply_vbb->u_volt, new_supply_vbb->u_volt_min,
^
drivers/soc/ti/ti-opp-domain.c:261:19: error: dereferencing pointer to incomplete type
new_supply_vbb->u_volt_max);
^
In file included from include/linux/printk.h:305:0,
from include/linux/kernel.h:13,
from include/linux/clk.h:16,
from drivers/soc/ti/ti-opp-domain.c:14:
drivers/soc/ti/ti-opp-domain.c:266:18: error: dereferencing pointer to incomplete type
new_supply_vdd->u_volt_min, new_supply_vdd->u_volt,
^
include/linux/dynamic_debug.h:135:9: note: in definition of macro 'dynamic_dev_dbg'
##__VA_ARGS__); \
^
drivers/soc/ti/ti-opp-domain.c:265:3: note: in expansion of macro 'dev_dbg'
dev_dbg(dev, "%s: voltages (mV): %lu %lu %lu\n", __func__,
^
drivers/soc/ti/ti-opp-domain.c:266:46: error: dereferencing pointer to incomplete type
new_supply_vdd->u_volt_min, new_supply_vdd->u_volt,
^
include/linux/dynamic_debug.h:135:9: note: in definition of macro 'dynamic_dev_dbg'
##__VA_ARGS__); \
^
drivers/soc/ti/ti-opp-domain.c:265:3: note: in expansion of macro 'dev_dbg'
dev_dbg(dev, "%s: voltages (mV): %lu %lu %lu\n", __func__,
^
drivers/soc/ti/ti-opp-domain.c:267:18: error: dereferencing pointer to incomplete type
new_supply_vdd->u_volt_max);
^
include/linux/dynamic_debug.h:135:9: note: in definition of macro 'dynamic_dev_dbg'
##__VA_ARGS__); \
^
drivers/soc/ti/ti-opp-domain.c:265:3: note: in expansion of macro 'dev_dbg'
dev_dbg(dev, "%s: voltages (mV): %lu %lu %lu\n", __func__,
^
drivers/soc/ti/ti-opp-domain.c:270:25: error: dereferencing pointer to incomplete type
new_supply_vdd->u_volt_min,
^
drivers/soc/ti/ti-opp-domain.c:271:25: error: dereferencing pointer to incomplete type
new_supply_vdd->u_volt,
^
drivers/soc/ti/ti-opp-domain.c:272:25: error: dereferencing pointer to incomplete type
new_supply_vdd->u_volt_max);
^
drivers/soc/ti/ti-opp-domain.c:275:29: error: dereferencing pointer to incomplete type
__func__, new_supply_vdd->u_volt_min,
^
drivers/soc/ti/ti-opp-domain.c:276:19: error: dereferencing pointer to incomplete type
new_supply_vdd->u_volt,
^
drivers/soc/ti/ti-opp-domain.c:277:19: error: dereferencing pointer to incomplete type
new_supply_vdd->u_volt_max, ret);
^
In file included from include/linux/printk.h:305:0,
from include/linux/kernel.h:13,
from include/linux/clk.h:16,
from drivers/soc/ti/ti-opp-domain.c:14:
drivers/soc/ti/ti-opp-domain.c:293:19: error: dereferencing pointer to incomplete type
new_supply_vbb->u_volt, new_supply_vbb->u_volt_min,
^
include/linux/dynamic_debug.h:135:9: note: in definition of macro 'dynamic_dev_dbg'
##__VA_ARGS__); \
^
drivers/soc/ti/ti-opp-domain.c:292:3: note: in expansion of macro 'dev_dbg'
dev_dbg(dev, "vbb post %luuV[min %luuV max %luuV]\n",
^
drivers/soc/ti/ti-opp-domain.c:293:43: error: dereferencing pointer to incomplete type
new_supply_vbb->u_volt, new_supply_vbb->u_volt_min,
^
include/linux/dynamic_debug.h:135:9: note: in definition of macro 'dynamic_dev_dbg'
##__VA_ARGS__); \
^
drivers/soc/ti/ti-opp-domain.c:292:3: note: in expansion of macro 'dev_dbg'
dev_dbg(dev, "vbb post %luuV[min %luuV max %luuV]\n",
^
drivers/soc/ti/ti-opp-domain.c:294:19: error: dereferencing pointer to incomplete type
new_supply_vbb->u_volt_max);
^
include/linux/dynamic_debug.h:135:9: note: in definition of macro 'dynamic_dev_dbg'
##__VA_ARGS__); \
^
drivers/soc/ti/ti-opp-domain.c:292:3: note: in expansion of macro 'dev_dbg'
dev_dbg(dev, "vbb post %luuV[min %luuV max %luuV]\n",
^
vim +/dev_dbg +250 drivers/soc/ti/ti-opp-domain.c
234 struct dev_pm_opp_supply *old_supply_vbb = &data->old_opp.supplies[1];
235 struct dev_pm_opp_supply *new_supply_vdd = &data->new_opp.supplies[0];
236 struct dev_pm_opp_supply *new_supply_vbb = &data->new_opp.supplies[1];
237 unsigned long old_freq = data->old_opp.rate, freq = data->new_opp.rate;
238 struct clk *clk = data->clk;
239 struct regulator *vdd_reg = data->regulators[0];
240 struct regulator *vbb_reg = data->regulators[1];
241 int vdd_uv;
242 int ret;
243
244 vdd_uv = oppdm_get_optimal_vdd_voltage(dev, &opp_data, new_supply_vbb->u_volt);
245
246 /* Scaling up? Scale voltage before frequency */
247 if (freq > old_freq) {
248 /* Regulator not available for device */
249
> 250 dev_dbg(dev, "vbb pre %luuV[min %luuV max %luuV]\n",
251 new_supply_vbb->u_volt, new_supply_vbb->u_volt_min,
252 new_supply_vbb->u_volt_max);
253
254 ret = regulator_set_voltage_triplet(vbb_reg,
255 new_supply_vbb->u_volt_min,
256 new_supply_vbb->u_volt,
257 new_supply_vbb->u_volt_max);
258 if (ret) {
---
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: 38259 bytes --]
next prev parent reply other threads:[~2016-11-16 2:02 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-26 6:32 [PATCH V3 0/9] PM / OPP: Multiple regulator support Viresh Kumar
2016-10-26 6:32 ` [PATCH V3 1/9] PM / OPP: Reword binding supporting multiple regulators per device Viresh Kumar
2016-11-09 14:58 ` Mark Brown
2016-11-10 4:04 ` Viresh Kumar
2016-11-10 16:36 ` Mark Brown
2016-11-10 18:09 ` Viresh Kumar
2016-11-10 22:51 ` Stephen Boyd
2016-11-11 3:11 ` Viresh Kumar
2016-11-15 1:59 ` Rob Herring
2016-11-15 2:13 ` Stephen Boyd
2016-11-15 3:31 ` Viresh Kumar
2016-11-15 18:56 ` Stephen Boyd
2016-11-15 22:11 ` Dave Gerlach
2016-11-16 3:18 ` Viresh Kumar
2016-11-16 3:08 ` Viresh Kumar
2016-10-26 6:32 ` [PATCH V3 2/9] PM / OPP: Don't use OPP structure outside of rcu protected section Viresh Kumar
2016-10-26 6:32 ` [PATCH V3 3/9] PM / OPP: Manage supply's voltage/current in a separate structure Viresh Kumar
2016-10-26 6:32 ` [PATCH V3 4/9] PM / OPP: Pass struct dev_pm_opp_supply to _set_opp_voltage() Viresh Kumar
2016-10-26 6:33 ` [PATCH V3 5/9] PM / OPP: Add infrastructure to manage multiple regulators Viresh Kumar
2016-10-26 6:33 ` [PATCH V3 6/9] PM / OPP: Separate out _generic_opp_set_rate() Viresh Kumar
2016-10-26 6:33 ` [PATCH V3 7/9] PM / OPP: Allow platform specific custom set_opp() callbacks Viresh Kumar
2016-10-26 6:33 ` [PATCH V3 8/9] PM / OPP: Don't WARN on multiple calls to dev_pm_opp_set_regulators() Viresh Kumar
2016-10-26 6:33 ` [PATCH V3 9/9] PM / OPP: Don't assume platform doesn't have regulators Viresh Kumar
2016-11-10 1:17 ` Stephen Boyd
2016-11-10 5:16 ` [PATCH V4 " Viresh Kumar
2016-11-02 4:51 ` [PATCH V3 0/9] PM / OPP: Multiple regulator support Viresh Kumar
2016-11-10 1:19 ` Stephen Boyd
2016-11-10 4:11 ` Viresh Kumar
2016-11-15 22:10 ` [TEST PATCH] WIP: Test OPP multi regulator support with ti-opp-domain driver Dave Gerlach
2016-11-16 1:38 ` kbuild test robot
2016-11-16 2:01 ` kbuild test robot [this message]
2016-11-16 3:27 ` Viresh Kumar
2016-11-18 3:06 ` [PATCH V3 0/9] PM / OPP: Multiple regulator support Viresh Kumar
2016-11-18 10:43 ` Mark Brown
2016-11-22 3:49 ` Viresh Kumar
2016-11-22 18:41 ` Mark Brown
2016-11-23 3:46 ` Viresh Kumar
2016-11-23 12:29 ` Mark Brown
2016-11-24 5:07 ` Viresh Kumar
2016-11-24 10:19 ` Mark Brown
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=201611160903.EnCUGBeN%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=d-gerlach@ti.com \
--cc=kbuild-all@01.org \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=nm@ti.com \
--cc=rjw@rjwysocki.net \
--cc=robh@kernel.org \
--cc=sboyd@codeaurora.org \
--cc=vincent.guittot@linaro.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
Powered by JetHome