[lkml]   [2017]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v8 3/3] mailbox: qcom: Add support for APCS clock controller
Hi Georgi,

[auto build test ERROR on next-20170619]
[cannot apply to clk/clk-next robh/for-next linus/master v4.12-rc6 v4.12-rc5 v4.12-rc4 v4.12-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=ia64

All error/warnings (new ones prefixed by >>):

In file included from drivers/mailbox/qcom-apcs-ipc-mailbox.c:26:0:
>> drivers/mailbox/../clk/qcom/clk-regmap.h:31:16: error: field 'hw' has incomplete type
struct clk_hw hw;
drivers/mailbox/qcom-apcs-ipc-mailbox.c: In function 'msm8916_register_clk':
>> drivers/mailbox/qcom-apcs-ipc-mailbox.c:101:9: error: variable 'init' has initializer but incomplete type
struct clk_init_data init = { };
>> drivers/mailbox/qcom-apcs-ipc-mailbox.c:101:23: error: storage size of 'init' isn't known
struct clk_init_data init = { };
>> drivers/mailbox/qcom-apcs-ipc-mailbox.c:119:15: error: 'CLK_SET_RATE_PARENT' undeclared (first use in this function)
init.flags = CLK_SET_RATE_PARENT;
drivers/mailbox/qcom-apcs-ipc-mailbox.c:119:15: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/mailbox/qcom-apcs-ipc-mailbox.c:122:9: error: implicit declaration of function '__clk_lookup' [-Werror=implicit-function-declaration]
pclk = __clk_lookup(gpll0_a53cc[1]);
>> drivers/mailbox/qcom-apcs-ipc-mailbox.c:122:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
pclk = __clk_lookup(gpll0_a53cc[1]);
>> drivers/mailbox/qcom-apcs-ipc-mailbox.c:148:8: error: implicit declaration of function 'of_clk_add_hw_provider' [-Werror=implicit-function-declaration]
ret = of_clk_add_hw_provider(dev->of_node, of_clk_hw_simple_get,
>> drivers/mailbox/qcom-apcs-ipc-mailbox.c:148:45: error: 'of_clk_hw_simple_get' undeclared (first use in this function)
ret = of_clk_add_hw_provider(dev->of_node, of_clk_hw_simple_get,
drivers/mailbox/qcom-apcs-ipc-mailbox.c:101:23: warning: unused variable 'init' [-Wunused-variable]
struct clk_init_data init = { };
cc1: some warnings being treated as errors

vim +/hw +31 drivers/mailbox/../clk/qcom/clk-regmap.h

085d7a45 Stephen Boyd 2014-01-15 25 * @enable_reg: register when using regmap enable/disable ops
085d7a45 Stephen Boyd 2014-01-15 26 * @enable_mask: mask when using regmap enable/disable ops
085d7a45 Stephen Boyd 2014-01-15 27 * @enable_is_inverted: flag to indicate set enable_mask bits to disable
085d7a45 Stephen Boyd 2014-01-15 28 * when using clock_enable_regmap and friends APIs.
085d7a45 Stephen Boyd 2014-01-15 29 */
085d7a45 Stephen Boyd 2014-01-15 30 struct clk_regmap {
085d7a45 Stephen Boyd 2014-01-15 @31 struct clk_hw hw;
085d7a45 Stephen Boyd 2014-01-15 32 struct regmap *regmap;
085d7a45 Stephen Boyd 2014-01-15 33 unsigned int enable_reg;
085d7a45 Stephen Boyd 2014-01-15 34 unsigned int enable_mask;

:::::: The code at line 31 was first introduced by commit
:::::: 085d7a455444f4d425371ee3c8a273c6e1b522db clk: qcom: Add a regmap type clock struct

:::::: TO: Stephen Boyd <>
:::::: CC: Mike Turquette <>

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2017-06-25 03:25    [W:0.222 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site