Hi Kartik, kernel test robot noticed the following build errors: [auto build test ERROR on tegra/for-next] [also build test ERROR on soc/for-next linus/master v6.5-rc7 next-20230821] [cannot apply to tegra-drm/drm/tegra/for-next] [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/Kartik/soc-tegra-fuse-Add-tegra_acpi_init_apbmisc/20230821-095539 base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next patch link: https://lore.kernel.org/r/20230818093028.7807-2-kkartik%40nvidia.com patch subject: [PATCH 1/6] soc/tegra: fuse: Add tegra_acpi_init_apbmisc() config: arm-randconfig-r004-20230822 (https://download.01.org/0day-ci/archive/20230822/202308221133.L1WzlvN7-lkp@xxxxxxxxx/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce: (https://download.01.org/0day-ci/archive/20230822/202308221133.L1WzlvN7-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202308221133.L1WzlvN7-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> drivers/soc/tegra/fuse/tegra-apbmisc.c:268:11: error: call to undeclared function 'acpi_dev_get_memory_resources'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | rcount = acpi_dev_get_memory_resources(adev, &resource_list); | ^ >> drivers/soc/tegra/fuse/tegra-apbmisc.c:280:2: error: call to undeclared function 'acpi_dev_free_resource_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280 | acpi_dev_free_resource_list(&resource_list); | ^ 2 errors generated. vim +/acpi_dev_get_memory_resources +268 drivers/soc/tegra/fuse/tegra-apbmisc.c 253 254 void tegra_acpi_init_apbmisc(void) 255 { 256 struct acpi_device *adev = NULL; 257 struct resource *apbmisc, *straps; 258 struct list_head resource_list; 259 struct resource_entry *rentry; 260 int rcount; 261 262 adev = acpi_dev_get_first_match_dev(apbmisc_acpi_match[0].id, NULL, -1); 263 if (!adev) 264 return; 265 266 INIT_LIST_HEAD(&resource_list); 267 > 268 rcount = acpi_dev_get_memory_resources(adev, &resource_list); 269 if (rcount != 2) { 270 pr_err("failed to get APBMISC memory resources"); 271 return; 272 } 273 274 rentry = list_first_entry(&resource_list, struct resource_entry, node); 275 apbmisc = rentry->res; 276 rentry = list_next_entry(rentry, node); 277 straps = rentry->res; 278 279 tegra_init_apbmisc_base(apbmisc, straps); > 280 acpi_dev_free_resource_list(&resource_list); -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki