Hi Oreoluwa, kernel test robot noticed the following build warnings: [auto build test WARNING on robh/for-next] [also build test WARNING on next-20240617] [cannot apply to linus/master v6.10-rc4] [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/Oreoluwa-Babatunde/of-reserved_mem-Restructure-code-to-call-reserved-mem-init-functions-earlier/20240618-033815 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20240617193357.3929092-1-quic_obabatun%40quicinc.com patch subject: [PATCH] of: reserved_mem: Restructure code to call reserved mem init functions earlier config: i386-buildonly-randconfig-001-20240618 (https://download.01.org/0day-ci/archive/20240618/202406181626.126X1Nbz-lkp@xxxxxxxxx/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240618/202406181626.126X1Nbz-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/202406181626.126X1Nbz-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> drivers/of/of_reserved_mem.c:551: warning: Function parameter or struct member 'rmem' not described in 'of_init_reserved_mem_node' vim +551 drivers/of/of_reserved_mem.c ae1add247bf8c2 Mitchel Humpherys 2015-09-15 546 3f0c8206644836 Marek Szyprowski 2014-02-28 547 /** cb40a192099698 Oreoluwa Babatunde 2024-06-17 548 * of_init_reserved_mem_node() - Initialize a saved reserved memory region. 3f0c8206644836 Marek Szyprowski 2014-02-28 549 */ cb40a192099698 Oreoluwa Babatunde 2024-06-17 550 static void __init of_init_reserved_mem_node(struct reserved_mem *rmem) 3f0c8206644836 Marek Szyprowski 2014-02-28 @551 { cb40a192099698 Oreoluwa Babatunde 2024-06-17 552 int err; 6f1188b4ac7577 Yue Hu 2020-07-30 553 bool nomap; cb40a192099698 Oreoluwa Babatunde 2024-06-17 554 struct device_node *node = rmem->dev_node; 3f0c8206644836 Marek Szyprowski 2014-02-28 555 59d2c3cbcb5a47 Oreoluwa Babatunde 2024-05-28 556 nomap = of_property_present(node, "no-map"); 9dcfee01930e6c Marek Szyprowski 2014-07-14 557 d0b8ed47e83a22 pierre Kuo 2019-02-19 558 err = __reserved_mem_init_node(rmem); d0b8ed47e83a22 pierre Kuo 2019-02-19 559 if (err != 0 && err != -ENOENT) { a46cccb0ee2d62 Oreoluwa Babatunde 2024-05-28 560 pr_info("node %s compatible matching fail\n", rmem->name); d0b8ed47e83a22 pierre Kuo 2019-02-19 561 if (nomap) 7b25995f5319ad Dong Aisheng 2021-06-11 562 memblock_clear_nomap(rmem->base, rmem->size); 3c6867a12a224d Dong Aisheng 2021-06-11 563 else a46cccb0ee2d62 Oreoluwa Babatunde 2024-05-28 564 memblock_phys_free(rmem->base, rmem->size); aeb9267eb6b1df Martin Liu 2023-02-10 565 } else { aeb9267eb6b1df Martin Liu 2023-02-10 566 phys_addr_t end = rmem->base + rmem->size - 1; 59d2c3cbcb5a47 Oreoluwa Babatunde 2024-05-28 567 bool reusable = of_property_present(node, "reusable"); aeb9267eb6b1df Martin Liu 2023-02-10 568 6ee7afbabcee4d Geert Uytterhoeven 2023-02-16 569 pr_info("%pa..%pa (%lu KiB) %s %s %s\n", aeb9267eb6b1df Martin Liu 2023-02-10 570 &rmem->base, &end, (unsigned long)(rmem->size / SZ_1K), aeb9267eb6b1df Martin Liu 2023-02-10 571 nomap ? "nomap" : "map", aeb9267eb6b1df Martin Liu 2023-02-10 572 reusable ? "reusable" : "non-reusable", aeb9267eb6b1df Martin Liu 2023-02-10 573 rmem->name ? rmem->name : "unknown"); d0b8ed47e83a22 pierre Kuo 2019-02-19 574 } d0b8ed47e83a22 pierre Kuo 2019-02-19 575 } 9dcfee01930e6c Marek Szyprowski 2014-07-14 576 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki