[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201812181009.E7q0RY3l%fengguang.wu@intel.com>
Date: Tue, 18 Dec 2018 10:56:03 +0800
From: kbuild test robot <lkp@...el.com>
To: Jeffrey Hugo <jhugo@...eaurora.org>
Cc: kbuild-all@...org, mturquette@...libre.com, sboyd@...nel.org,
robh+dt@...nel.org, mark.rutland@....com,
bjorn.andersson@...aro.org, marc.w.gonzalez@...e.fr,
linux-clk@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
Jeffrey Hugo <jhugo@...eaurora.org>
Subject: Re: [PATCH v3] clk: qcom: smd: Add support for MSM8998 rpm clocks
Hi Jeffrey,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on clk/clk-next]
[also build test ERROR on next-20181217]
[cannot apply to v4.20-rc7]
[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/Jeffrey-Hugo/clk-qcom-smd-Add-support-for-MSM8998-rpm-clocks/20181218-095431
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: nds32-allmodconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 6.4.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
GCC_VERSION=6.4.0 make.cross ARCH=nds32
All errors (new ones prefixed by >>):
>> drivers/clk/qcom/clk-smd-rpm.c:691:3: error: 'RPM_SMD_LN_BB_CLK1' undeclared here (not in a function)
[RPM_SMD_LN_BB_CLK1] = &msm8998_ln_bb_clk1,
^~~~~~~~~~~~~~~~~~
drivers/clk/qcom/clk-smd-rpm.c:691:3: error: array index in initializer not of integer type
drivers/clk/qcom/clk-smd-rpm.c:691:3: note: (near initialization for 'msm8998_clks')
>> drivers/clk/qcom/clk-smd-rpm.c:692:3: error: 'RPM_SMD_LN_BB_CLK1_A' undeclared here (not in a function)
[RPM_SMD_LN_BB_CLK1_A] = &msm8998_ln_bb_clk1_a,
^~~~~~~~~~~~~~~~~~~~
drivers/clk/qcom/clk-smd-rpm.c:692:3: error: array index in initializer not of integer type
drivers/clk/qcom/clk-smd-rpm.c:692:3: note: (near initialization for 'msm8998_clks')
>> drivers/clk/qcom/clk-smd-rpm.c:692:28: error: 'msm8998_ln_bb_clk1_a' undeclared here (not in a function)
[RPM_SMD_LN_BB_CLK1_A] = &msm8998_ln_bb_clk1_a,
^~~~~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/clk-smd-rpm.c:694:3: error: 'RPM_SMD_LN_BB_CLK2_A' undeclared here (not in a function)
[RPM_SMD_LN_BB_CLK2_A] = &msm8998_ln_bb_clk2_a,
^~~~~~~~~~~~~~~~~~~~
drivers/clk/qcom/clk-smd-rpm.c:694:3: error: array index in initializer not of integer type
drivers/clk/qcom/clk-smd-rpm.c:694:3: note: (near initialization for 'msm8998_clks')
>> drivers/clk/qcom/clk-smd-rpm.c:694:28: error: 'msm8998_ln_bb_clk2_a' undeclared here (not in a function)
[RPM_SMD_LN_BB_CLK2_A] = &msm8998_ln_bb_clk2_a,
^~~~~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/clk-smd-rpm.c:696:3: error: 'RPM_SMD_LN_BB_CLK3_A_PIN' undeclared here (not in a function)
[RPM_SMD_LN_BB_CLK3_A_PIN] = &msm8998_ln_bb_clk3_a_pin,
^~~~~~~~~~~~~~~~~~~~~~~~
drivers/clk/qcom/clk-smd-rpm.c:696:3: error: array index in initializer not of integer type
drivers/clk/qcom/clk-smd-rpm.c:696:3: note: (near initialization for 'msm8998_clks')
vim +/RPM_SMD_LN_BB_CLK1 +691 drivers/clk/qcom/clk-smd-rpm.c
657
658 /* msm8998 */
659 DEFINE_CLK_SMD_RPM(msm8998, snoc_clk, snoc_a_clk, QCOM_SMD_RPM_BUS_CLK, 1);
660 DEFINE_CLK_SMD_RPM(msm8998, cnoc_clk, cnoc_a_clk, QCOM_SMD_RPM_BUS_CLK, 2);
661 DEFINE_CLK_SMD_RPM(msm8998, ce1_clk, ce1_a_clk, QCOM_SMD_RPM_CE_CLK, 0);
662 DEFINE_CLK_SMD_RPM_XO_BUFFER(msm8998, div_clk1, div_clk1_a, 0xb);
663 DEFINE_CLK_SMD_RPM(msm8998, ipa_clk, ipa_a_clk, QCOM_SMD_RPM_IPA_CLK, 0);
664 DEFINE_CLK_SMD_RPM_XO_BUFFER(msm8998, ln_bb_clk1, bb_clk1_a, 1);
665 DEFINE_CLK_SMD_RPM_XO_BUFFER(msm8998, ln_bb_clk2, bb_clk2_a, 2);
666 DEFINE_CLK_SMD_RPM_XO_BUFFER_PINCTRL(msm8998, ln_bb_clk3_pin, ln_bb_clk3_a_pin,
667 3);
668 DEFINE_CLK_SMD_RPM(msm8998, mmssnoc_axi_rpm_clk, mmssnoc_axi_rpm_a_clk,
669 QCOM_SMD_RPM_MMAXI_CLK, 0);
670 DEFINE_CLK_SMD_RPM(msm8998, aggre1_noc_clk, aggre1_noc_a_clk,
671 QCOM_SMD_RPM_AGGR_CLK, 1);
672 DEFINE_CLK_SMD_RPM(msm8998, aggre2_noc_clk, aggre2_noc_a_clk,
673 QCOM_SMD_RPM_AGGR_CLK, 2);
674 DEFINE_CLK_SMD_RPM_QDSS(msm8998, qdss_clk, qdss_a_clk,
675 QCOM_SMD_RPM_MISC_CLK, 1);
676 DEFINE_CLK_SMD_RPM_XO_BUFFER(msm8998, rf_clk1, rf_clk1_a, 4);
677 DEFINE_CLK_SMD_RPM_XO_BUFFER_PINCTRL(msm8998, rf_clk2_pin, rf_clk2_a_pin, 5);
678 DEFINE_CLK_SMD_RPM_XO_BUFFER(msm8998, rf_clk3, rf_clk3_a, 6);
679 DEFINE_CLK_SMD_RPM_XO_BUFFER_PINCTRL(msm8998, rf_clk3_pin, rf_clk3_a_pin, 6);
680 static struct clk_smd_rpm *msm8998_clks[] = {
681 [RPM_SMD_SNOC_CLK] = &msm8998_snoc_clk,
682 [RPM_SMD_SNOC_A_CLK] = &msm8998_snoc_a_clk,
683 [RPM_SMD_CNOC_CLK] = &msm8998_cnoc_clk,
684 [RPM_SMD_CNOC_A_CLK] = &msm8998_cnoc_a_clk,
685 [RPM_SMD_CE1_CLK] = &msm8998_ce1_clk,
686 [RPM_SMD_CE1_A_CLK] = &msm8998_ce1_a_clk,
687 [RPM_SMD_DIV_CLK1] = &msm8998_div_clk1,
688 [RPM_SMD_DIV_A_CLK1] = &msm8998_div_clk1_a,
689 [RPM_SMD_IPA_CLK] = &msm8998_ipa_clk,
690 [RPM_SMD_IPA_A_CLK] = &msm8998_ipa_a_clk,
> 691 [RPM_SMD_LN_BB_CLK1] = &msm8998_ln_bb_clk1,
> 692 [RPM_SMD_LN_BB_CLK1_A] = &msm8998_ln_bb_clk1_a,
693 [RPM_SMD_LN_BB_CLK2] = &msm8998_ln_bb_clk2,
> 694 [RPM_SMD_LN_BB_CLK2_A] = &msm8998_ln_bb_clk2_a,
695 [RPM_SMD_LN_BB_CLK3_PIN] = &msm8998_ln_bb_clk3_pin,
> 696 [RPM_SMD_LN_BB_CLK3_A_PIN] = &msm8998_ln_bb_clk3_a_pin,
697 [RPM_SMD_MMAXI_CLK] = &msm8998_mmssnoc_axi_rpm_clk,
698 [RPM_SMD_MMAXI_A_CLK] = &msm8998_mmssnoc_axi_rpm_a_clk,
699 [RPM_SMD_AGGR1_NOC_CLK] = &msm8998_aggre1_noc_clk,
700 [RPM_SMD_AGGR1_NOC_A_CLK] = &msm8998_aggre1_noc_a_clk,
701 [RPM_SMD_AGGR2_NOC_CLK] = &msm8998_aggre2_noc_clk,
702 [RPM_SMD_AGGR2_NOC_A_CLK] = &msm8998_aggre2_noc_a_clk,
703 [RPM_SMD_QDSS_CLK] = &msm8998_qdss_clk,
704 [RPM_SMD_QDSS_A_CLK] = &msm8998_qdss_a_clk,
705 [RPM_SMD_RF_CLK1] = &msm8998_rf_clk1,
706 [RPM_SMD_RF_CLK1_A] = &msm8998_rf_clk1_a,
707 [RPM_SMD_RF_CLK2_PIN] = &msm8998_rf_clk2_pin,
708 [RPM_SMD_RF_CLK2_A_PIN] = &msm8998_rf_clk2_a_pin,
709 [RPM_SMD_RF_CLK3] = &msm8998_rf_clk3,
710 [RPM_SMD_RF_CLK3_A] = &msm8998_rf_clk3_a,
711 [RPM_SMD_RF_CLK3_PIN] = &msm8998_rf_clk3_pin,
712 [RPM_SMD_RF_CLK3_A_PIN] = &msm8998_rf_clk3_a_pin,
713 };
714
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (48521 bytes)
Powered by blists - more mailing lists