Skip to contentSkip to conversation

dma: add COMPILE_TEST to AMBA_PL08X

PATCH New Rosen Penev 2 participants 2 messages Apr 7 – Apr 17 dmaengine

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dma: add COMPILE_TEST to AMBA_PL08X

The LPC18XX driver has COMPILE_TEST in it that does not get selected because of a depend on AMBA_PL08X. Adding it here enables COMPILE_TEST there.

---
 drivers/dma/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/Kconfig +1 -1
index 3520b20fb58f..87436491f128 100644
@@ -66,7 +66,7 @@ config ALTERA_MSGDMA
 
 config AMBA_PL08X
 	bool "ARM PrimeCell PL080 or PL081 support"
-	depends on ARM_AMBA
+	depends on ARM_AMBA || COMPILE_TEST
 	select DMA_ENGINE
 	select DMA_VIRTUAL_CHANNELS
 	help
Signature · 1 line
2.53.0
#1 lore raw
kernel test robot noticed the following build errors:

Hi Rosen,

kernel test robot noticed the following build errors:

[auto build test ERROR on vkoul-dmaengine/next]
[also build test ERROR on linus/master v7.0 next-20260416] [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/Rosen-Penev/dma-add-COMPILE_TEST-to-AMBA_PL08X/20260414-134925
base:   https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next
patch link:    https://lore.kernel.org/r/20260407035104.98985-1-rosenp%40gmail.com
patch subject: [PATCH] dma: add COMPILE_TEST to AMBA_PL08X
config: m68k-randconfig-r062-20260417 (https://download.01.org/0day-ci/archive/20260417/[email protected]/config)
compiler: m68k-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260417/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

m68k-linux-ld: drivers/dma/amba-pl08x.o: in function `pl08x_probe':

>> amba-pl08x.c:(.text+0x183c): undefined reference to `amba_request_regions'
>> m68k-linux-ld: amba-pl08x.c:(.text+0x18ae): undefined reference to `amba_release_regions'
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki