Re: [PATCH v2 1/3] iommu: io-pgtable: add DART pagetable format

From: Sven Peter
Date: Sun Mar 28 2021 - 06:18:54 EST


Hi,

On Sun, Mar 28, 2021, at 11:42, kernel test robot wrote:
>
> All errors (new ones prefixed by >>):
>
> >> nios2-linux-ld: drivers/iommu/io-pgtable.o:(.rodata+0x1c): undefined reference to `io_pgtable_apple_dart_init_fns'
>
>

That one was me not being careful enough when removing the Kconfig flag
compared to v1.

Fixed by moving

[ARM_APPLE_DART] = &io_pgtable_apple_dart_init_fns,

into the #ifdef CONFIG_IOMMU_IO_PGTABLE_LPAE region in drivers/iommu/io-pgtable.c
a few lines above.


Thanks,

Sven