Content-Type: multipart/mixed; boundary="===============8880736665397631554==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v2 2/2] clk: qcom: Add clock driver for SM8450 Date: Wed, 08 Dec 2021 22:31:25 +0800 Message-ID: <202112082235.Hpn8OyQQ-lkp@intel.com> In-Reply-To: <20211207114003.100693-3-vkoul@kernel.org> List-Id: --===============8880736665397631554== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-rc4 next-20211208] [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-cl= ocks-for-SM8450-SoC/20211207-194218 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-n= ext config: riscv-randconfig-c006-20211208 (https://download.01.org/0day-ci/arc= hive/20211208/202112082235.Hpn8OyQQ-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 097a1c= b1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a) reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/0day-ci/linux/commit/42c0d6d58aceb3d76e99fd973= 8235962ab7a8e87 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Vinod-Koul/clk-qcom-Add-clocks-for= -SM8450-SoC/20211207-194218 git checkout 42c0d6d58aceb3d76e99fd9738235962ab7a8e87 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Driscv SHELL=3D/bin/bash drivers/clk/qcom/ drivers/ii= o/proximity/ 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:29: error: use of undeclared identifier= 'CLK_ALPHA_PLL_TYPE_LUCID_EVO'; did you mean 'CLK_ALPHA_PLL_TYPE_LUCID'? .regs =3D clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_LUCID_EVO], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CLK_ALPHA_PLL_TYPE_LUCID drivers/clk/qcom/clk-alpha-pll.h:17:2: note: 'CLK_ALPHA_PLL_TYPE_LUCID' = declared here CLK_ALPHA_PLL_TYPE_LUCID =3D CLK_ALPHA_PLL_TYPE_TRION, ^ >> drivers/clk/qcom/gcc-sm8450.c:50:12: error: use of undeclared identifier= 'clk_alpha_pll_fixed_lucid_evo_ops'; did you mean 'clk_alpha_pll_fixed_luc= id_5lpe_ops'? .ops =3D &clk_alpha_pll_fixed_lucid_evo_ops, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clk_alpha_pll_fixed_lucid_5lpe_ops drivers/clk/qcom/clk-alpha-pll.h:149:29: note: 'clk_alpha_pll_fixed_luci= d_5lpe_ops' declared here extern const struct clk_ops clk_alpha_pll_fixed_lucid_5lpe_ops; ^ drivers/clk/qcom/gcc-sm8450.c:66:29: error: use of undeclared identifier= 'CLK_ALPHA_PLL_TYPE_LUCID_EVO'; did you mean 'CLK_ALPHA_PLL_TYPE_LUCID'? .regs =3D clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_LUCID_EVO], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CLK_ALPHA_PLL_TYPE_LUCID drivers/clk/qcom/clk-alpha-pll.h:17:2: note: 'CLK_ALPHA_PLL_TYPE_LUCID' = declared here CLK_ALPHA_PLL_TYPE_LUCID =3D CLK_ALPHA_PLL_TYPE_TRION, ^ >> drivers/clk/qcom/gcc-sm8450.c:73:11: error: use of undeclared identifier= 'clk_alpha_pll_postdiv_lucid_evo_ops' .ops =3D &clk_alpha_pll_postdiv_lucid_evo_ops, ^ drivers/clk/qcom/gcc-sm8450.c:79:29: error: use of undeclared identifier= 'CLK_ALPHA_PLL_TYPE_LUCID_EVO'; did you mean 'CLK_ALPHA_PLL_TYPE_LUCID'? .regs =3D clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_LUCID_EVO], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CLK_ALPHA_PLL_TYPE_LUCID drivers/clk/qcom/clk-alpha-pll.h:17:2: note: 'CLK_ALPHA_PLL_TYPE_LUCID' = declared here CLK_ALPHA_PLL_TYPE_LUCID =3D CLK_ALPHA_PLL_TYPE_TRION, ^ drivers/clk/qcom/gcc-sm8450.c:89:12: error: use of undeclared identifier= 'clk_alpha_pll_fixed_lucid_evo_ops'; did you mean 'clk_alpha_pll_fixed_luc= id_5lpe_ops'? .ops =3D &clk_alpha_pll_fixed_lucid_evo_ops, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clk_alpha_pll_fixed_lucid_5lpe_ops drivers/clk/qcom/clk-alpha-pll.h:149:29: note: 'clk_alpha_pll_fixed_luci= d_5lpe_ops' declared here extern const struct clk_ops clk_alpha_pll_fixed_lucid_5lpe_ops; ^ drivers/clk/qcom/gcc-sm8450.c:96:29: error: use of undeclared identifier= 'CLK_ALPHA_PLL_TYPE_LUCID_EVO'; did you mean 'CLK_ALPHA_PLL_TYPE_LUCID'? .regs =3D clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_LUCID_EVO], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CLK_ALPHA_PLL_TYPE_LUCID drivers/clk/qcom/clk-alpha-pll.h:17:2: note: 'CLK_ALPHA_PLL_TYPE_LUCID' = declared here CLK_ALPHA_PLL_TYPE_LUCID =3D CLK_ALPHA_PLL_TYPE_TRION, ^ drivers/clk/qcom/gcc-sm8450.c:106:12: error: use of undeclared identifie= r 'clk_alpha_pll_fixed_lucid_evo_ops'; did you mean 'clk_alpha_pll_fixed_lu= cid_5lpe_ops'? .ops =3D &clk_alpha_pll_fixed_lucid_evo_ops, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clk_alpha_pll_fixed_lucid_5lpe_ops drivers/clk/qcom/clk-alpha-pll.h:149:29: note: 'clk_alpha_pll_fixed_luci= d_5lpe_ops' declared here extern const struct clk_ops clk_alpha_pll_fixed_lucid_5lpe_ops; ^ 8 errors generated. 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 }, 49 .num_parents =3D 1, > 50 .ops =3D &clk_alpha_pll_fixed_lucid_evo_ops, 51 }, 52 }, 53 }; 54 = 55 static const struct clk_div_table post_div_table_gcc_gpll0_out_even[= ] =3D { 56 { 0x1, 2 }, 57 { } 58 }; 59 = 60 static struct clk_alpha_pll_postdiv gcc_gpll0_out_even =3D { 61 .offset =3D 0x0, 62 .post_div_shift =3D 10, 63 .post_div_table =3D post_div_table_gcc_gpll0_out_even, 64 .num_post_div =3D ARRAY_SIZE(post_div_table_gcc_gpll0_out_even), 65 .width =3D 4, 66 .regs =3D clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_LUCID_EVO], 67 .clkr.hw.init =3D &(struct clk_init_data){ 68 .name =3D "gcc_gpll0_out_even", 69 .parent_data =3D &(const struct clk_parent_data){ 70 .hw =3D &gcc_gpll0.clkr.hw, 71 }, 72 .num_parents =3D 1, > 73 .ops =3D &clk_alpha_pll_postdiv_lucid_evo_ops, 74 }, 75 }; 76 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============8880736665397631554==--