Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1235929
| Path | csiph.com!goblin1!goblin.stu.neva.ru!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | kbuild test robot <lkp@intel.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] clk: add devm_of_clk_get() and devm_of_clk_get_by_name() functions |
| Date | Wed, 30 Sep 2015 11:20:02 +0200 |
| Message-ID | <qelIm-CS-7@gated-at.bofh.it> (permalink) |
| References | <qekjf-6VR-9@gated-at.bofh.it> |
| X-Original-To | Paul Osmialowski <newchief@king.net.pl> |
| X-Extloop1 | 1 |
| X-Ironport-Av | E=Sophos;i="5.17,611,1437462000"; d="gz'50?scan'50,208,50";a="571177644" |
| MIME-Version | 1.0 |
| Content-Type | multipart/mixed; boundary="envbJBWh7q8WU6mo" |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| X-Sa-Exim-Connect-IP | <locally generated> |
| X-Sa-Exim-Mail-From | fengguang.wu@intel.com |
| X-Sa-Exim-Scanned | No (on bee); SAEximRunCond expanded to false |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 487 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | kbuild-all@01.org, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@codeaurora.org>, Russell King <linux@arm.linux.org.uk>, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Osmialowski <pawelo@king.net.pl> |
| X-Original-Date | Wed, 30 Sep 2015 17:13:42 +0800 |
| X-Original-Message-ID | <201509301715.kkzE1BaC%fengguang.wu@intel.com> |
| X-Original-References | <1443599212-31698-2-git-send-email-newchief@king.net.pl> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1235929 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi Paul,
[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]
config: arm-sa1100 (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
git checkout 4b38631724b90dc5a717a4467cbf9377e3bf9af2
# save the attached .config to linux build tree
make.cross ARCH=arm
All error/warnings (new ones prefixed by >>):
>> drivers/clk/clk-devres.c:39:13: error: redefinition of 'devm_of_clk_get'
struct clk *devm_of_clk_get(struct device *dev, struct device_node *np,
^
In file included from drivers/clk/clk-devres.c:7:0:
include/linux/clk.h:539:27: note: previous definition of 'devm_of_clk_get' was here
static inline struct clk *devm_of_clk_get(struct device *dev,
^
>> drivers/clk/clk-devres.c:60:13: error: redefinition of 'devm_of_clk_get_by_name'
struct clk *devm_of_clk_get_by_name(struct device *dev, struct device_node *np,
^
In file included from drivers/clk/clk-devres.c:7:0:
include/linux/clk.h:545:27: note: previous definition of 'devm_of_clk_get_by_name' was here
static inline struct clk *devm_of_clk_get_by_name(struct device *dev,
^
vim +/devm_of_clk_get +39 drivers/clk/clk-devres.c
33 return clk;
34 }
35 EXPORT_SYMBOL(devm_clk_get);
36
37 #ifdef CONFIG_OF
38
> 39 struct clk *devm_of_clk_get(struct device *dev, struct device_node *np,
40 int index)
41 {
42 struct clk **ptr, *clk;
43
44 ptr = devres_alloc(devm_clk_release, sizeof(*ptr), GFP_KERNEL);
45 if (!ptr)
46 return ERR_PTR(-ENOMEM);
47
48 clk = of_clk_get(np, index);
49 if (!IS_ERR(clk)) {
50 *ptr = clk;
51 devres_add(dev, ptr);
52 } else {
53 devres_free(ptr);
54 }
55
56 return clk;
57 }
58 EXPORT_SYMBOL(devm_of_clk_get);
59
> 60 struct clk *devm_of_clk_get_by_name(struct device *dev, struct device_node *np,
61 const char *name)
62 {
63 struct clk **ptr, *clk;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2] clk: add devm_of_clk_get() and devm_of_clk_get_by_name() functions Paul Osmialowski <newchief@king.net.pl> - 2015-09-30 09:50 +0200 Re: [PATCH v2] clk: add devm_of_clk_get() and devm_of_clk_get_by_name() functions kbuild test robot <lkp@intel.com> - 2015-09-30 11:20 +0200
csiph-web