Re: [PATCH v4 06/10] soc: fsl: cmp1: Add support for QMC

From: Christophe Leroy
Date: Wed Feb 15 2023 - 07:51:37 EST




Le 15/02/2023 à 13:45, kernel test robot a écrit :
> Hi Herve,
>
> I love your patch! Yet something to improve:
>
> [auto build test ERROR on broonie-sound/for-next]
> [also build test ERROR on robh/for-next powerpc/next powerpc/fixes linus/master v6.2-rc8 next-20230215]
> [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/Herve-Codina/dt-bindings-soc-fsl-cpm_qe-Add-TSA-controller/20230128-152424
> base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
> patch link: https://lore.kernel.org/r/20230126083222.374243-7-herve.codina%40bootlin.com
> patch subject: [PATCH v4 06/10] soc: fsl: cmp1: Add support for QMC
> config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20230215/202302152037.NXHi2aFY-lkp@xxxxxxxxx/config)
> compiler: powerpc-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/20ec2eacb76ca7252aa2934f53357663652edd0f
> git remote add linux-review https://github.com/intel-lab-lkp/linux
> git fetch --no-tags linux-review Herve-Codina/dt-bindings-soc-fsl-cpm_qe-Add-TSA-controller/20230128-152424
> git checkout 20ec2eacb76ca7252aa2934f53357663652edd0f
> # 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=powerpc olddefconfig
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Link: https://lore.kernel.org/oe-kbuild-all/202302152037.NXHi2aFY-lkp@xxxxxxxxx/
>
> All errors (new ones prefixed by >>):
>
> powerpc-linux-ld: drivers/soc/fsl/qe/qmc.o: in function `qmc_probe':
>>> qmc.c:(.text.qmc_probe+0xd8): undefined reference to `get_immrbase'
>

I guess a dependency on CONFIG_FSL_SOC needs to be added.

Christophe