[nomadik:ixp4 2/13] ixp4xx_crypto.c:undefined reference to `qmgr_disable_irq'

Arnd Bergmann arnd at kernel.org
Mon Nov 2 06:45:45 EST 2020


On Mon, Nov 2, 2020 at 12:37 PM kernel test robot <lkp at intel.com> wrote:
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ixp4
> head:   2ebe35dcc6e059168cd569d583898a7cf90a1ffb
> commit: f6d672f5c4f589321383fe07f3ae479defa36b70 [2/13] crypto: ixp4xx: convert to platform driver
> config: arm-allyesconfig (attached as .config)
> compiler: arm-linux-gnueabi-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/linusw/linux-nomadik.git/commit/?id=f6d672f5c4f589321383fe07f3ae479defa36b70
>         git remote add nomadik https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
>         git fetch --no-tags nomadik ixp4
>         git checkout f6d672f5c4f589321383fe07f3ae479defa36b70
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp at intel.com>
>
> All errors (new ones prefixed by >>):
>
>    arm-linux-gnueabi-ld: drivers/crypto/ixp4xx_crypto.o: in function `ixp_crypto_remove':
> >> ixp4xx_crypto.c:(.text+0x668): undefined reference to `qmgr_disable_irq'
> >> arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x678): undefined reference to `qmgr_release_queue'
>    arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x680): undefined reference to `qmgr_release_queue'

Hi Linus,

I think what you need here is

--- a/drivers/soc/Makefile
+++ b/drivers/soc/Makefile
@@ -12,7 +12,7 @@ obj-$(CONFIG_MACH_DOVE)               += dove/
 obj-y                          += fsl/
 obj-$(CONFIG_ARCH_GEMINI)      += gemini/
 obj-y                          += imx/
-obj-$(CONFIG_ARCH_IXP4XX)      += ixp4xx/
+obj-y                          += ixp4xx/
 obj-$(CONFIG_SOC_XWAY)         += lantiq/
 obj-y                          += mediatek/
 obj-y                          += amlogic/



More information about the linux-arm-kernel mailing list