lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 19 Sep 2017 06:27:33 +0800
From:   kbuild test robot <>
To:     Tirupathi Reddy <>
        Tirupathi Reddy <>
Subject: Re: [PATCH V4] clk: qcom: Add spmi_pmic clock divider support

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]

base: clk-next
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
        wget -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

   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);
   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		}
   224		return clk_cc->div_clks[idx];
   225	}

0-DAY kernel test infrastructure                Open Source Technology Center                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (50464 bytes)

Powered by blists - more mailing lists