From: kernel test robot <lkp@intel.com>
To: Naresh Solanki <naresh.solanki@9elements.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
zev@bewilderbeest.net,
Naresh Solanki <Naresh.Solanki@9elements.com>,
linux-kernel@vger.kernel.org
Subject: Re: [RESEND PATCH] regulator: userspace-consumer: Retrieve supplies from DT
Date: Wed, 30 Aug 2023 18:50:04 +0800 [thread overview]
Message-ID: <202308301833.WqS6n2RU-lkp@intel.com> (raw)
In-Reply-To: <20230829141413.2605621-1-Naresh.Solanki@9elements.com>
Hi Naresh,
kernel test robot noticed the following build errors:
[auto build test ERROR on 8950c4a350c188deb5f5b05df3244d4db82fe3d8]
url: https://github.com/intel-lab-lkp/linux/commits/Naresh-Solanki/regulator-userspace-consumer-Retrieve-supplies-from-DT/20230829-222520
base: 8950c4a350c188deb5f5b05df3244d4db82fe3d8
patch link: https://lore.kernel.org/r/20230829141413.2605621-1-Naresh.Solanki%409elements.com
patch subject: [RESEND PATCH] regulator: userspace-consumer: Retrieve supplies from DT
config: i386-buildonly-randconfig-001-20230830 (https://download.01.org/0day-ci/archive/20230830/202308301833.WqS6n2RU-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230830/202308301833.WqS6n2RU-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308301833.WqS6n2RU-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/regulator/userspace-consumer.c:164:2: error: call to undeclared function 'for_each_property_of_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
for_each_property_of_node(pdev->dev.of_node, prop) {
^
>> drivers/regulator/userspace-consumer.c:164:52: error: expected ';' after expression
for_each_property_of_node(pdev->dev.of_node, prop) {
^
;
drivers/regulator/userspace-consumer.c:200:3: error: call to undeclared function 'for_each_property_of_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
for_each_property_of_node(pdev->dev.of_node, prop) {
^
drivers/regulator/userspace-consumer.c:200:53: error: expected ';' after expression
for_each_property_of_node(pdev->dev.of_node, prop) {
^
;
4 errors generated.
vim +/for_each_property_of_node +164 drivers/regulator/userspace-consumer.c
158
159 static int get_num_supplies(struct platform_device *pdev)
160 {
161 struct property *prop;
162 int num_supplies = 0;
163
> 164 for_each_property_of_node(pdev->dev.of_node, prop) {
165 const char *prop_name = prop->name;
166 int len = strlen(prop_name);
167
168 if (len > SUPPLY_SUFFIX_LEN && \
169 strcmp(prop_name + len - SUPPLY_SUFFIX_LEN, SUPPLY_SUFFIX) == 0) {
170 num_supplies++;
171 }
172 }
173 return num_supplies;
174 }
175
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-08-30 19:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-29 14:14 Naresh Solanki
2023-08-29 21:24 ` kernel test robot
2023-08-30 10:50 ` kernel test robot [this message]
2023-09-22 9:03 Naresh Solanki
2023-09-23 10:44 ` kernel test robot
2023-09-23 12:02 ` Zev Weiss
2023-09-23 12:16 ` Zev Weiss
2023-09-23 18:35 ` Zev Weiss
2023-10-04 9:33 ` Naresh Solanki
2023-10-04 9:20 ` Naresh Solanki
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=202308301833.WqS6n2RU-lkp@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=naresh.solanki@9elements.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=zev@bewilderbeest.net \
/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
all inboxes | Powered by JetHome®