Content-Type: multipart/mixed; boundary="===============5743990880956665926==" MIME-Version: 1.0 From: Vinod Koul To: kbuild-all@lists.01.org Subject: Re: [PATCH 3/4] clk: qcom: Add clock driver for SM8450 Date: Tue, 07 Dec 2021 15:02:25 +0530 Message-ID: In-Reply-To: <202112020334.Hw8YGuXD-lkp@intel.com> List-Id: --===============5743990880956665926== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 02-12-21, 03:40, kernel test robot wrote: > Hi Vinod, > = > I love your patch! Yet something to improve: > = > [auto build test ERROR on clk/clk-next] > [also build test ERROR on robh/for-next v5.16-rc3 next-20211201] > [cannot apply to agross-msm/qcom/for-next] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > = > url: https://github.com/0day-ci/linux/commits/Vinod-Koul/clk-qcom-Add-= clocks-for-SM8450-SoC/20211201-152534 > base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk= -next > config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20211= 202/202112020334.Hw8YGuXD-lkp(a)intel.com/config) > compiler: alpha-linux-gcc (GCC) 11.2.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/0day-ci/linux/commit/e1e0cc0fd39b5e08530730f= f2e973252bba25fc0 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Vinod-Koul/clk-qcom-Add-clocks-f= or-SM8450-SoC/20211201-152534 > git checkout e1e0cc0fd39b5e08530730ff2e973252bba25fc0 > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cro= ss O=3Dbuild_dir ARCH=3Dalpha SHELL=3D/bin/bash > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > All errors (new ones prefixed by >>): > = > >> drivers/clk/qcom/gcc-sm8450.c:40:36: error: 'CLK_ALPHA_PLL_TYPE_LUCID_= EVO' undeclared here (not in a function); did you mean 'CLK_ALPHA_PLL_TYPE_= LUCID'? > 40 | .regs =3D clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_LUCID_= EVO], > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | CLK_ALPHA_PLL_TYPE_LUCID This is due to dependency on the lucid evo patchset from Vamsi as mentioned in the cover letter. So we can ignore this. > >> drivers/clk/qcom/gcc-sm8450.c:51:33: error: 'clk_alpha_pll_fixed_lucid= _evo_ops' undeclared here (not in a function); did you mean 'clk_alpha_pll_= fixed_lucid_5lpe_ops'? > 51 | .ops =3D &clk_alpha_pll_fixed_lucid_ev= o_ops, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~ > | clk_alpha_pll_fixed_lucid_5lpe= _ops > >> drivers/clk/qcom/gcc-sm8450.c:74:25: error: 'clk_alpha_pll_postdiv_luc= id_evo_ops' undeclared here (not in a function); did you mean 'clk_alpha_pl= l_postdiv_lucid_5lpe_ops'? > 74 | .ops =3D &clk_alpha_pll_postdiv_lucid_evo_ops, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | clk_alpha_pll_postdiv_lucid_5lpe_ops > = > = > vim +40 drivers/clk/qcom/gcc-sm8450.c > = > 37 = > 38 static struct clk_alpha_pll gcc_gpll0 =3D { > 39 .offset =3D 0x0, > > 40 .regs =3D clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_LUCID_EVO], > 41 .clkr =3D { > 42 .enable_reg =3D 0x62018, > 43 .enable_mask =3D BIT(0), > 44 .hw.init =3D &(struct clk_init_data){ > 45 .name =3D "gcc_gpll0", > 46 .parent_data =3D &(const struct clk_parent_data){ > 47 .fw_name =3D "bi_tcxo", > 48 .name =3D "bi_tcxo", > 49 }, > 50 .num_parents =3D 1, > > 51 .ops =3D &clk_alpha_pll_fixed_lucid_evo_ops, > 52 }, > 53 }, > 54 }; > 55 = > 56 static const struct clk_div_table post_div_table_gcc_gpll0_out_eve= n[] =3D { > 57 { 0x1, 2 }, > 58 { } > 59 }; > 60 = > 61 static struct clk_alpha_pll_postdiv gcc_gpll0_out_even =3D { > 62 .offset =3D 0x0, > 63 .post_div_shift =3D 10, > 64 .post_div_table =3D post_div_table_gcc_gpll0_out_even, > 65 .num_post_div =3D ARRAY_SIZE(post_div_table_gcc_gpll0_out_even), > 66 .width =3D 4, > 67 .regs =3D clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_LUCID_EVO], > 68 .clkr.hw.init =3D &(struct clk_init_data){ > 69 .name =3D "gcc_gpll0_out_even", > 70 .parent_data =3D &(const struct clk_parent_data){ > 71 .hw =3D &gcc_gpll0.clkr.hw, > 72 }, > 73 .num_parents =3D 1, > > 74 .ops =3D &clk_alpha_pll_postdiv_lucid_evo_ops, > 75 }, > 76 }; > 77 = > = > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org -- = ~Vinod --===============5743990880956665926==--