From: kbuild test robot <lkp@intel.com>
To: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
Andrey Smirnov <andrew.smirnov@gmail.com>,
p.zabel@pengutronix.de, Fabio Estevam <fabio.estevam@nxp.com>,
cphealy@gmail.com, l.stach@pengutronix.de,
Leonard Crestez <leonard.crestez@nxp.com>,
"A.s. Dong" <aisheng.dong@nxp.com>,
Richard Zhu <hongxing.zhu@nxp.com>, Rob Herring <robh@kernel.org>,
devicetree@vger.kernel.org, linux-imx@nxp.com,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 1/3] reset: imx7: Add plubming to support multiple IP variants
Date: Wed, 28 Nov 2018 16:07:01 +0800 [thread overview]
Message-ID: <201811281657.h2whjfG1%fengguang.wu@intel.com> (raw)
In-Reply-To: <20181128043738.12714-2-andrew.smirnov@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2302 bytes --]
Hi Andrey,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on pza/reset/next]
[also build test WARNING on v4.20-rc4 next-20181127]
[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/Andrey-Smirnov/Reset-controller-support-for-i-MX8MQ/20181128-143936
base: git://git.pengutronix.de/git/pza/linux reset/next
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 8.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=xtensa
All warnings (new ones prefixed by >>):
drivers//reset/reset-imx7.c: In function 'imx7_reset_probe':
>> drivers//reset/reset-imx7.c:160:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
imx7src->variant = of_device_get_match_data(dev);
^
vim +/const +160 drivers//reset/reset-imx7.c
149
150 static int imx7_reset_probe(struct platform_device *pdev)
151 {
152 struct imx7_src *imx7src;
153 struct device *dev = &pdev->dev;
154 struct regmap_config config = { .name = "src" };
155
156 imx7src = devm_kzalloc(dev, sizeof(*imx7src), GFP_KERNEL);
157 if (!imx7src)
158 return -ENOMEM;
159
> 160 imx7src->variant = of_device_get_match_data(dev);
161 imx7src->regmap = syscon_node_to_regmap(dev->of_node);
162 if (IS_ERR(imx7src->regmap)) {
163 dev_err(dev, "Unable to get imx7-src regmap");
164 return PTR_ERR(imx7src->regmap);
165 }
166 regmap_attach_dev(dev, imx7src->regmap, &config);
167
168 imx7src->rcdev.owner = THIS_MODULE;
169 imx7src->rcdev.nr_resets = imx7src->variant->signals_num;
170 imx7src->rcdev.ops = &imx7_reset_ops;
171 imx7src->rcdev.of_node = dev->of_node;
172
173 return devm_reset_controller_register(dev, &imx7src->rcdev);
174 }
175
---
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: 55736 bytes --]
next prev parent reply other threads:[~2018-11-28 8:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-28 4:37 [PATCH v2 0/3] Reset controller support for i.MX8MQ Andrey Smirnov
2018-11-28 4:37 ` [PATCH v2 1/3] reset: imx7: Add plubming to support multiple IP variants Andrey Smirnov
2018-11-28 8:07 ` kbuild test robot [this message]
2018-11-28 4:37 ` [PATCH v2 2/3] reset: imx7: Add support for i.MX8MQ IP block variant Andrey Smirnov
2018-12-11 22:43 ` Rob Herring
2018-12-12 1:35 ` Andrey Smirnov
2018-11-28 4:37 ` [PATCH v2 3/3] dt-bindings: reset: imx7: Document usage on i.MX8MQ SoCs Andrey Smirnov
2018-11-29 5:43 ` kbuild test robot
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=201811281657.h2whjfG1%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=aisheng.dong@nxp.com \
--cc=andrew.smirnov@gmail.com \
--cc=cphealy@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=fabio.estevam@nxp.com \
--cc=hongxing.zhu@nxp.com \
--cc=kbuild-all@01.org \
--cc=l.stach@pengutronix.de \
--cc=leonard.crestez@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=robh@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
all inboxes | Powered by JetHome®