From: kbuild test robot <lkp@intel.com>
To: Sarangdhar Joshi <spjoshi@codeaurora.org>
Cc: kbuild-all@01.org, Andy Gross <andy.gross@linaro.org>,
David Brown <david.brown@linaro.org>,
Sarangdhar Joshi <spjoshi@codeaurora.org>,
linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org,
linux-kernel@vger.kernel.org,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Jordan Crouse <jcrouse@codeaurora.org>,
Stephen Boyd <sboyd@codeaurora.org>,
Trilok Soni <tsoni@codeaurora.org>
Subject: Re: [PATCH 2/3] firmware: qcom: scm: Remove core, iface and bus clocks dependency
Date: Sat, 29 Oct 2016 10:31:34 +0800 [thread overview]
Message-ID: <201610291030.VtSvda8k%fengguang.wu@intel.com> (raw)
In-Reply-To: <1477699729-18451-3-git-send-email-spjoshi@codeaurora.org>
[-- Attachment #1: Type: text/plain, Size: 2174 bytes --]
Hi Sarangdhar,
[auto build test WARNING on linus/master]
[also build test WARNING on v4.9-rc2 next-20161028]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Sarangdhar-Joshi/Remove-clocks-dependency-from-SCM-driver/20161029-081333
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=arm
All warnings (new ones prefixed by >>):
drivers/firmware/qcom_scm.c: In function 'qcom_scm_probe':
>> drivers/firmware/qcom_scm.c:337:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
clks = (uint64_t)of_device_get_match_data(&pdev->dev);
^
vim +337 drivers/firmware/qcom_scm.c
321 bool qcom_scm_is_available(void)
322 {
323 return !!__scm;
324 }
325 EXPORT_SYMBOL(qcom_scm_is_available);
326
327 static int qcom_scm_probe(struct platform_device *pdev)
328 {
329 struct qcom_scm *scm;
330 uint64_t clks;
331 int ret;
332
333 scm = devm_kzalloc(&pdev->dev, sizeof(*scm), GFP_KERNEL);
334 if (!scm)
335 return -ENOMEM;
336
> 337 clks = (uint64_t)of_device_get_match_data(&pdev->dev);
338 if (clks & SCM_HAS_CORE_CLK) {
339 scm->core_clk = devm_clk_get(&pdev->dev, "core");
340 if (IS_ERR(scm->core_clk)) {
341 if (PTR_ERR(scm->core_clk) == -EPROBE_DEFER)
342 return PTR_ERR(scm->core_clk);
343
344 scm->core_clk = NULL;
345 }
---
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: 59436 bytes --]
next prev parent reply other threads:[~2016-10-29 2:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-29 0:08 [PATCH 0/3] Remove clocks dependency from SCM driver Sarangdhar Joshi
2016-10-29 0:08 ` [PATCH 1/3] dt-bindings: firmware: scm: Add MSM8996 DT bindings Sarangdhar Joshi
2016-10-31 6:23 ` Rob Herring
2016-10-29 0:08 ` [PATCH 2/3] firmware: qcom: scm: Remove core, iface and bus clocks dependency Sarangdhar Joshi
2016-10-29 2:31 ` kbuild test robot [this message]
2016-11-01 23:11 ` Stephen Boyd
2016-11-02 19:24 ` Sarangdhar Joshi
2016-11-02 20:04 ` Bjorn Andersson
2016-10-29 0:08 ` [PATCH 3/3] firmware: qcom: scm: Return PTR_ERR when devm_clk_get fails Sarangdhar Joshi
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=201610291030.VtSvda8k%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=andy.gross@linaro.org \
--cc=bjorn.andersson@linaro.org \
--cc=david.brown@linaro.org \
--cc=jcrouse@codeaurora.org \
--cc=kbuild-all@01.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-soc@vger.kernel.org \
--cc=sboyd@codeaurora.org \
--cc=spjoshi@codeaurora.org \
--cc=tsoni@codeaurora.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®