Re: undefined reference to `devm_mux_control_get'

From: Randy Dunlap
Date: Sun Dec 06 2020 - 13:07:01 EST


On 12/6/20 9:25 AM, kernel test robot wrote:
> Hi Serge,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 7059c2c00a2196865c2139083cbef47cd18109b6
> commit: abf00907538e21c469a10809dc2991982673fcbf spi: dw: Add Baikal-T1 SPI Controller glue driver
> date: 8 weeks ago
> config: parisc-randconfig-r004-20201207 (attached as .config)
> compiler: hppa-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=abf00907538e21c469a10809dc2991982673fcbf
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout abf00907538e21c469a10809dc2991982673fcbf
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>
> All errors (new ones prefixed by >>):
>
> hppa-linux-ld: drivers/spi/spi-dw-bt1.o: in function `dw_spi_bt1_sys_init':
>>> (.text+0x1c): undefined reference to `devm_mux_control_get'
>
> ---


Serge's patch has been:

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

[1/1] spi: dw-bt1: Fix undefined devm_mux_control_get symbol
commit: 7218838109fef61cdec988ff728e902d434c9cc5


--
~Randy