Re: [PATCH v3 06/13] clk: renesas: Add support for R9A09G077 SoC
From: kernel test robot
Date: Thu Feb 27 2025 - 10:05:07 EST
Hi Thierry,
kernel test robot noticed the following build errors:
[auto build test ERROR on tty/tty-testing]
[also build test ERROR on tty/tty-next tty/tty-linus geert-renesas-devel/next linus/master v6.14-rc4 next-20250227]
[cannot apply to geert-renesas-drivers/renesas-clk]
[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/Thierry-Bultel/dt-bindings-clock-Add-cpg-for-the-Renesas-RZ-T2H-SoC/20250226-221033
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
patch link: https://lore.kernel.org/r/20250226130935.3029927-7-thierry.bultel.yh%40bp.renesas.com
patch subject: [PATCH v3 06/13] clk: renesas: Add support for R9A09G077 SoC
config: sparc-allmodconfig (https://download.01.org/0day-ci/archive/20250227/202502272238.ZwLcNFEr-lkp@xxxxxxxxx/config)
compiler: sparc64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250227/202502272238.ZwLcNFEr-lkp@xxxxxxxxx/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502272238.ZwLcNFEr-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
In file included from drivers/clk/renesas/r9a09g077-cpg-mssr.c:9:
drivers/clk/renesas/r9a09g077-cpg-mssr.c: In function 'r9a09g077_cpg_div_clk_register':
>> drivers/clk/renesas/r9a09g077-cpg-mssr.c:72:33: error: implicit declaration of function 'FIELD_GET' [-Wimplicit-function-declaration]
72 | #define GET_REG_OFFSET(val) FIELD_GET(GENMASK(31, 20), val)
| ^~~~~~~~~
include/linux/clk-provider.h:869:51: note: in definition of macro 'clk_hw_register_divider_table'
869 | NULL, (flags), (reg), (shift), (width), \
| ^~~
drivers/clk/renesas/r9a09g077-cpg-mssr.c:166:63: note: in expansion of macro 'GET_REG_OFFSET'
166 | base + GET_REG_OFFSET(core->conf),
| ^~~~~~~~~~~~~~
vim +/FIELD_GET +72 drivers/clk/renesas/r9a09g077-cpg-mssr.c
69
70 #define GET_SHIFT(val) FIELD_GET(GENMASK(19, 12), val)
71 #define GET_WIDTH(val) FIELD_GET(GENMASK(11, 8), val)
> 72 #define GET_REG_OFFSET(val) FIELD_GET(GENMASK(31, 20), val)
73
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki