public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, mturquette@baylibre.com, sboyd@kernel.org,
	robh+dt@kernel.org, mark.rutland@arm.com,
	bjorn.andersson@linaro.org, marc.w.gonzalez@free.fr,
	linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	Jeffrey Hugo <jhugo@codeaurora.org>
Subject: Re: [PATCH v3] clk: qcom: smd: Add support for MSM8998 rpm clocks
Date: Tue, 18 Dec 2018 10:55:56 +0800	[thread overview]
Message-ID: <201812181055.uWIV3T72%fengguang.wu@intel.com> (raw)
In-Reply-To: <1545092467-31485-1-git-send-email-jhugo@codeaurora.org>

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

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: mips-allmodconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 7.2.0-11) 7.2.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=7.2.0 make.cross ARCH=mips 

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); did you mean 'RPM_SMD_LN_BB_CLK2'?
     [RPM_SMD_LN_BB_CLK1] = &msm8998_ln_bb_clk1,
      ^~~~~~~~~~~~~~~~~~
      RPM_SMD_LN_BB_CLK2
   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); did you mean 'RPM_SMD_LN_BB_CLK1'?
     [RPM_SMD_LN_BB_CLK1_A] = &msm8998_ln_bb_clk1_a,
      ^~~~~~~~~~~~~~~~~~~~
      RPM_SMD_LN_BB_CLK1
   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); did you mean 'msm8998_ln_bb_clk1'?
     [RPM_SMD_LN_BB_CLK1_A] = &msm8998_ln_bb_clk1_a,
                               ^~~~~~~~~~~~~~~~~~~~
                               msm8998_ln_bb_clk1
>> drivers/clk/qcom/clk-smd-rpm.c:694:3: error: 'RPM_SMD_LN_BB_CLK2_A' undeclared here (not in a function); did you mean 'RPM_SMD_LN_BB_CLK1_A'?
     [RPM_SMD_LN_BB_CLK2_A] = &msm8998_ln_bb_clk2_a,
      ^~~~~~~~~~~~~~~~~~~~
      RPM_SMD_LN_BB_CLK1_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); did you mean 'msm8998_ln_bb_clk1_a'?
     [RPM_SMD_LN_BB_CLK2_A] = &msm8998_ln_bb_clk2_a,
                               ^~~~~~~~~~~~~~~~~~~~
                               msm8998_ln_bb_clk1_a
   drivers/clk/qcom/clk-smd-rpm.c:696:3: error: 'RPM_SMD_LN_BB_CLK3_A_PIN' undeclared here (not in a function); did you mean 'RPM_SMD_LN_BB_CLK3_PIN'?
     [RPM_SMD_LN_BB_CLK3_A_PIN] = &msm8998_ln_bb_clk3_a_pin,
      ^~~~~~~~~~~~~~~~~~~~~~~~
      RPM_SMD_LN_BB_CLK3_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 +692 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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 58180 bytes --]

  parent reply	other threads:[~2018-12-18  2:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-18  0:21 [PATCH v3] clk: qcom: smd: Add support for MSM8998 rpm clocks Jeffrey Hugo
2018-12-18  0:57 ` Jeffrey Hugo
2018-12-18  2:55 ` kbuild test robot [this message]
2018-12-18  2:56 ` kbuild test robot

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=201812181055.uWIV3T72%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jhugo@codeaurora.org \
    --cc=kbuild-all@01.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.w.gonzalez@free.fr \
    --cc=mark.rutland@arm.com \
    --cc=mturquette@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.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