From: kbuild test robot <lkp@intel.com>
To: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Cc: kbuild-all@01.org, Lee Jones <lee.jones@linaro.org>,
Johan Hovold <jhovold@gmail.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 3/3] mfd: lm3533: Support initialization from Device Tree
Date: Wed, 28 Oct 2015 00:43:32 +0800 [thread overview]
Message-ID: <201510280043.8F7y835w%fengguang.wu@intel.com> (raw)
In-Reply-To: <1445963373-27790-3-git-send-email-bjorn.andersson@sonymobile.com>
[-- Attachment #1: Type: text/plain, Size: 2617 bytes --]
Hi Bjorn,
[auto build test WARNING on ljones-mfd/for-mfd-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/Bjorn-Andersson/devicetree-mfd-Add-binding-for-the-TI-LM3533/20151028-003248
config: x86_64-randconfig-x012-201543 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from drivers/mfd/lm3533-core.c:14:
drivers/mfd/lm3533-core.c: In function 'lm3533_pdata_from_of_node':
drivers/mfd/lm3533-core.c:830:8: error: implicit declaration of function 'of_node_cmp' [-Werror=implicit-function-declaration]
if (!of_node_cmp(node->name, "als"))
^
include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
>> drivers/mfd/lm3533-core.c:830:3: note: in expansion of macro 'if'
if (!of_node_cmp(node->name, "als"))
^
cc1: some warnings being treated as errors
vim +/if +830 drivers/mfd/lm3533-core.c
814
815 ret = lm3533_of_parse_enum(dev->of_node, "ti,boost-freq-khz", freqs, 2);
816 if (ret < 0) {
817 dev_err(dev, "failed to parse ti,boost-freq-khz\n");
818 return ret;
819 }
820 pdata->boost_freq = ret;
821
822 ret = lm3533_of_parse_enum(dev->of_node, "ti,boost-ovp", ovps, 4);
823 if (ret < 0) {
824 dev_err(dev, "failed to parse ti,boost-ovp\n");
825 return ret;
826 }
827 pdata->boost_ovp = ret;
828
829 for_each_child_of_node(dev->of_node, node) {
> 830 if (!of_node_cmp(node->name, "als"))
831 ret = lm3533_of_parse_als_node(dev, node, pdata);
832 else if (!of_node_cmp(node->name, "backlight"))
833 ret = lm3533_of_parse_bl_node(dev, node, pdata);
834 else if (!of_node_cmp(node->name, "led"))
835 ret = lm3533_of_parse_led_node(dev, node, pdata);
836
837 if (ret < 0) {
838 of_node_put(node);
---
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: 19618 bytes --]
next prev parent reply other threads:[~2015-10-27 16:44 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-25 18:09 [PATCH 1/3] devicetree: mfd: Add binding for the TI LM3533 Bjorn Andersson
2015-10-25 18:09 ` [PATCH 2/3] iio: light: lm3533-als: Print error message on invalid resistance Bjorn Andersson
2015-10-27 19:18 ` Joe Perches
2015-10-28 18:37 ` Bjorn Andersson
2015-10-28 18:53 ` Joe Perches
2015-10-25 18:09 ` [PATCH 3/3] mfd: lm3533: Support initialization from Device Tree Bjorn Andersson
2015-10-27 7:57 ` [PATCH 1/3] devicetree: mfd: Add binding for the TI LM3533 Rob Herring
2015-10-27 16:29 ` [PATCH v2 " Bjorn Andersson
2015-10-27 16:29 ` [PATCH v2 2/3] iio: light: lm3533-als: Print error message on invalid resistance Bjorn Andersson
2015-10-27 16:29 ` [PATCH v2 3/3] mfd: lm3533: Support initialization from Device Tree Bjorn Andersson
2015-10-27 16:43 ` kbuild test robot [this message]
2015-10-27 16:53 ` kbuild test robot
2015-10-28 11:40 ` Lee Jones
2015-10-28 11:50 ` Joe Perches
2015-10-28 18:41 ` Bjorn Andersson
2015-10-27 19:21 ` [PATCH v2 1/3] devicetree: mfd: Add binding for the TI LM3533 Rob Herring
2015-10-30 18:42 ` Lee Jones
2015-10-30 19:41 ` Bjorn Andersson
2015-10-30 20:18 ` Rob Herring
2015-10-30 21:16 ` Bjorn Andersson
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=201510280043.8F7y835w%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=bjorn.andersson@sonymobile.com \
--cc=jhovold@gmail.com \
--cc=kbuild-all@01.org \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.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).