devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, sboyd@codeaurora.org, mturquette@baylibre.com,
	robh+dt@kernel.org, mark.rutland@arm.com, andy.gross@linaro.org,
	david.brown@linaro.org, linux-clk@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org,
	Tirupathi Reddy <tirupath@codeaurora.org>
Subject: Re: [PATCH V4] clk: qcom: Add spmi_pmic clock divider support
Date: Tue, 19 Sep 2017 06:27:33 +0800	[thread overview]
Message-ID: <201709190638.ccBbDbpM%fengguang.wu@intel.com> (raw)
In-Reply-To: <1505734059-7590-1-git-send-email-tirupath@codeaurora.org>

[-- Attachment #1: Type: text/plain, Size: 1839 bytes --]

Hi Tirupathi,

[auto build test WARNING on clk/clk-next]
[also build test WARNING on v4.14-rc1 next-20170918]
[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/Tirupathi-Reddy/clk-qcom-Add-spmi_pmic-clock-divider-support/20170919-043600
base:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.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
        make.cross ARCH=xtensa 

All warnings (new ones prefixed by >>):

   drivers/clk/qcom/clk-spmi-pmic-div.c: In function 'spmi_pmic_div_clk_hw_get':
>> drivers/clk/qcom/clk-spmi-pmic-div.c:219:3: warning: format '%d' expects a matching 'int' argument [-Wformat=]
      pr_err("%s: index value %u is invalid; allowed range: [%d, %d]\n",
      ^

vim +219 drivers/clk/qcom/clk-spmi-pmic-div.c

   211	
   212	static struct clk_hw *spmi_pmic_div_clk_hw_get(struct of_phandle_args *clkspec,
   213					      void *data)
   214	{
   215		struct spmi_pmic_div_clk_cc *clk_cc = data;
   216		unsigned int idx = (clkspec->args[0] - SPMI_PMIC_CLKDIV_MIN_INDEX);
   217	
   218		if (idx < 0 || idx >= clk_cc->nclks) {
 > 219			pr_err("%s: index value %u is invalid; allowed range: [%d, %d]\n",
   220			       __func__, SPMI_PMIC_CLKDIV_MIN_INDEX, clk_cc->nclks);
   221			return ERR_PTR(-EINVAL);
   222		}
   223	
   224		return clk_cc->div_clks[idx];
   225	}
   226	

---
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: 50464 bytes --]

      parent reply	other threads:[~2017-09-18 22:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-18 11:27 [PATCH V4] clk: qcom: Add spmi_pmic clock divider support Tirupathi Reddy
2017-09-18 21:57 ` kbuild test robot
2017-09-18 22:27 ` kbuild test robot [this message]

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=201709190638.ccBbDbpM%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=andy.gross@linaro.org \
    --cc=david.brown@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kbuild-all@01.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-soc@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mturquette@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=tirupath@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;
as well as URLs for NNTP newsgroup(s).