public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Cc: kbuild-all@01.org, mturquette@baylibre.com,
	cw00.choi@samsung.com, lee.jones@linaro.org,
	sboyd@codeaurora.org, myungjoo.ham@samsung.com,
	devicetree@vger.kernel.org, linux-clk@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	patches@opensource.wolfsonmicro.com
Subject: Re: [PATCH v2 2/4] clk: arizona: Add clock driver for the Arizona devices
Date: Thu, 7 Jan 2016 05:47:26 +0800	[thread overview]
Message-ID: <201601070556.nSZh6xQZ%fengguang.wu@intel.com> (raw)
In-Reply-To: <1452083672-3994-2-git-send-email-ckeepax@opensource.wolfsonmicro.com>

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

Hi Charles,

[auto build test ERROR on clk/clk-next]
[also build test ERROR on v4.4-rc8 next-20160106]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Charles-Keepax/extcon-arizona-Remove-enable-disable-of-32k-clock/20160106-203745
base:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: xtensa-allyesconfig (attached as .config)
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=xtensa 

Note: the linux-review/Charles-Keepax/extcon-arizona-Remove-enable-disable-of-32k-clock/20160106-203745 HEAD 3b9e1c414d26bbf32acebb42a19ac902535a58b7 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/clk/clk-arizona.c: In function 'arizona_clk_of_get_pdata':
>> drivers/clk/clk-arizona.c:92:3: error: implicit declaration of function 'of_clk_get_by_name' [-Werror=implicit-function-declaration]
      mclk = of_clk_get_by_name(arizona->dev->of_node, pins[i]);
      ^
   drivers/clk/clk-arizona.c:92:8: warning: assignment makes pointer from integer without a cast
      mclk = of_clk_get_by_name(arizona->dev->of_node, pins[i]);
           ^
>> drivers/clk/clk-arizona.c:96:3: error: implicit declaration of function 'clk_get_rate' [-Werror=implicit-function-declaration]
      if (clk_get_rate(mclk) == CLK32K_RATE) {
      ^
>> drivers/clk/clk-arizona.c:101:3: error: implicit declaration of function 'clk_put' [-Werror=implicit-function-declaration]
      clk_put(mclk);
      ^
   cc1: some warnings being treated as errors

vim +/of_clk_get_by_name +92 drivers/clk/clk-arizona.c

    86		int i;
    87	
    88		if (!of_property_read_bool(arizona->dev->of_node, "clocks"))
    89			return 0;
    90	
    91		for (i = 0; i < ARRAY_SIZE(pins); ++i) {
  > 92			mclk = of_clk_get_by_name(arizona->dev->of_node, pins[i]);
    93			if (IS_ERR(mclk))
    94				return PTR_ERR(mclk);
    95	
  > 96			if (clk_get_rate(mclk) == CLK32K_RATE) {
    97				arizona->pdata.clk32k_src = ARIZONA_32KZ_MCLK1 + i;
    98				arizona->pdata.clk32k_parent = __clk_get_name(mclk);
    99			}
   100	
 > 101			clk_put(mclk);
   102		}
   103	
   104		return 0;

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

  reply	other threads:[~2016-01-06 21:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-06 12:34 [PATCH v2 1/4] extcon: arizona: Remove enable/disable of 32k clock Charles Keepax
2016-01-06 12:34 ` [PATCH v2 2/4] clk: arizona: Add clock driver for the Arizona devices Charles Keepax
2016-01-06 21:47   ` kbuild test robot [this message]
2016-01-06 12:34 ` [PATCH v2 3/4] mfd: arizona: Switch to using clock driver for 32k clock Charles Keepax
2016-01-06 12:34 ` [PATCH v2 4/4] mfd: arizona: Add device tree binding documentation for new clock driver Charles Keepax
2016-01-06 13:15   ` Rob Herring

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=201601070556.nSZh6xQZ%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=ckeepax@opensource.wolfsonmicro.com \
    --cc=cw00.choi@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kbuild-all@01.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=myungjoo.ham@samsung.com \
    --cc=patches@opensource.wolfsonmicro.com \
    --cc=sboyd@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