Re: [PATCH v5 07/12] clk: imx: Update pllv3 to support i.MXRT1170

From: kernel test robot
Date: Sun Aug 14 2022 - 11:31:06 EST


Hi Jesse,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on robh/for-next]
[also build test WARNING on abelvesa/clk/imx v5.19]
[cannot apply to soc/for-next linus/master next-20220812]
[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/Jesse-Taube/Add-support-for-the-i-MXRT1170-evk/20220724-000710
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20220814/202208142303.ZxW0QfM2-lkp@xxxxxxxxx/config)
compiler: mips-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/96413cc0300321ec18d27ca9983f349a41f99706
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Jesse-Taube/Add-support-for-the-i-MXRT1170-evk/20220724-000710
git checkout 96413cc0300321ec18d27ca9983f349a41f99706
# 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=mips SHELL=/bin/bash drivers/clk/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

In file included from drivers/clk/imx/clk-pllv3.c:14:
drivers/clk/imx/clk.h:268:74: error: macro "imx_clk_hw_pllv3" requires 8 arguments, but only 5 given
268 | const char *parent_name, void __iomem *base, u32 div_mask);
| ^
drivers/clk/imx/clk.h:107: note: macro "imx_clk_hw_pllv3" defined here
107 | #define imx_clk_hw_pllv3(name, parent_names, num_parents, parent, \
|
>> drivers/clk/imx/clk-pllv3.c:445:16: warning: no previous prototype for '__imx_clk_hw_pllv3' [-Wmissing-prototypes]
445 | struct clk_hw *__imx_clk_hw_pllv3(enum imx_pllv3_type type, const char *name,
| ^~~~~~~~~~~~~~~~~~


vim +/__imx_clk_hw_pllv3 +445 drivers/clk/imx/clk-pllv3.c

444
> 445 struct clk_hw *__imx_clk_hw_pllv3(enum imx_pllv3_type type, const char *name,

--
0-DAY CI Kernel Test Service
https://01.org/lkp