Hi Achal, Thank you for the patch! Yet something to improve: [auto build test ERROR on helgaas-pci/next] [also build test ERROR on helgaas-pci/for-linus linus/master v6.2-rc2 next-20230106] [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/Achal-Verma/PCI-cadence-Add-support-to-build-pcie-cadence-library-as-module/20230108-235956 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next patch link: https://lore.kernel.org/r/20230108155755.2614147-3-a-verma1%40ti.com patch subject: [PATCH v2 2/2] PCI: j721e: Add support to build pci-j721e as module. config: x86_64-randconfig-a012 compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) 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/eaa09469ae5267ac4229e8a2710fe11b342cc88c git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Achal-Verma/PCI-cadence-Add-support-to-build-pcie-cadence-library-as-module/20230108-235956 git checkout eaa09469ae5267ac4229e8a2710fe11b342cc88c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> ld.lld: error: undefined symbol: __devm_pci_epc_create >>> referenced by pcie-cadence-ep.c:680 (drivers/pci/controller/cadence/pcie-cadence-ep.c:680) >>> vmlinux.o:(cdns_pcie_ep_setup) -- >> ld.lld: error: undefined symbol: pci_epc_mem_init >>> referenced by pcie-cadence-ep.c:715 (drivers/pci/controller/cadence/pcie-cadence-ep.c:715) >>> vmlinux.o:(cdns_pcie_ep_setup) -- >> ld.lld: error: undefined symbol: pci_epc_mem_alloc_addr >>> referenced by pcie-cadence-ep.c:722 (drivers/pci/controller/cadence/pcie-cadence-ep.c:722) >>> vmlinux.o:(cdns_pcie_ep_setup) -- >> ld.lld: error: undefined symbol: pci_epc_mem_exit >>> referenced by pcie-cadence-ep.c:741 (drivers/pci/controller/cadence/pcie-cadence-ep.c:741) >>> vmlinux.o:(cdns_pcie_ep_setup) Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PCIE_CADENCE_EP Depends on [n]: PCI [=y] && OF [=y] && PCI_ENDPOINT [=n] Selected by [y]: - PCI_J721E [=y] && PCI [=y] -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests