| Date | Tue, 25 Apr 2023 01:17:25 +0800 | From | kernel test robot <> | Subject | Re: [PATCH 12/43] clk: ep93xx: add DT support for Cirrus EP93xx |
| |
Hi Nikita,
kernel test robot noticed the following build errors:
[auto build test ERROR on soc/for-next] [also build test ERROR on robh/for-next linusw-pinctrl/devel linusw-pinctrl/for-next linus/master v6.3] [cannot apply to next-20230421] [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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Nikita-Shubin/gpio-ep93xx-split-device-in-multiple/20230424-183649 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next patch link: https://lore.kernel.org/r/20230424123522.18302-13-nikita.shubin%40maquefel.me patch subject: [PATCH 12/43] clk: ep93xx: add DT support for Cirrus EP93xx config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230425/202304250013.c9Px2Npt-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/8621eda93e4a641c57f889ac36d2386482e92157 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Nikita-Shubin/gpio-ep93xx-split-device-in-multiple/20230424-183649 git checkout 8621eda93e4a641c57f889ac36d2386482e92157 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Link: https://lore.kernel.org/oe-kbuild-all/202304250013.c9Px2Npt-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/clk/clk-ep93xx.c: In function 'ep93xx_clk_enable': >> drivers/clk/clk-ep93xx.c:153:9: error: implicit declaration of function 'ep93xx_syscon_swlocked_write' [-Werror=implicit-function-declaration] 153 | ep93xx_syscon_swlocked_write(val, psc->reg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors
vim +/ep93xx_syscon_swlocked_write +153 drivers/clk/clk-ep93xx.c
140 141 static int ep93xx_clk_enable(struct clk_hw *hw) 142 { 143 struct clk_psc *psc = to_clk_psc(hw); 144 unsigned long flags = 0; 145 u32 val; 146 147 if (psc->lock) 148 spin_lock_irqsave(psc->lock, flags); 149 150 ep93xx_regmap_read(psc->reg, &val); 151 val |= BIT(psc->bit_idx); 152 > 153 ep93xx_syscon_swlocked_write(val, psc->reg); 154 155 if (psc->lock) 156 spin_unlock_irqrestore(psc->lock, flags); 157 158 return 0; 159 } 160
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
|