Hi Thierry,
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on next-20260122] [cannot apply to drm-misc/drm-misc-next robh/for-next linus/master v6.19-rc6] [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/Thierry-Reding/dt-bindings-re... base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20260122161009.3865888-5-thierry.reding%40kernel.o... patch subject: [PATCH v2 04/10] mm/cma: Allow dynamically creating CMA areas config: i386-buildonly-randconfig-003-20260123 (https://download.01.org/0day-ci/archive/20260123/202601231051.5GWCp3mt-lkp@i...) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260123/202601231051.5GWCp3mt-lkp@i...)
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@intel.com | Closes: https://lore.kernel.org/oe-kbuild-all/202601231051.5GWCp3mt-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/cma_debug.c: In function 'cma_debugfs_init':
mm/cma_debug.c:207:25: error: 'cma_area_count' undeclared (first use in this function)
207 | for (i = 0; i < cma_area_count; i++) | ^~~~~~~~~~~~~~ mm/cma_debug.c:207:25: note: each undeclared identifier is reported only once for each function it appears in
mm/cma_debug.c:208:38: error: 'cma_areas' undeclared (first use in this function); did you mean 'cma_free'?
208 | cma_debugfs_add_one(&cma_areas[i], cma_debugfs_root); | ^~~~~~~~~ | cma_free
vim +/cma_area_count +207 mm/cma_debug.c
28b24c1fc8c22c Sasha Levin 2015-04-14 199 28b24c1fc8c22c Sasha Levin 2015-04-14 200 static int __init cma_debugfs_init(void) 28b24c1fc8c22c Sasha Levin 2015-04-14 201 { 5a7f1b2f2fbeb4 Yue Hu 2019-03-05 202 struct dentry *cma_debugfs_root; 28b24c1fc8c22c Sasha Levin 2015-04-14 203 int i; 28b24c1fc8c22c Sasha Levin 2015-04-14 204 28b24c1fc8c22c Sasha Levin 2015-04-14 205 cma_debugfs_root = debugfs_create_dir("cma", NULL); 28b24c1fc8c22c Sasha Levin 2015-04-14 206 28b24c1fc8c22c Sasha Levin 2015-04-14 @207 for (i = 0; i < cma_area_count; i++) 5a7f1b2f2fbeb4 Yue Hu 2019-03-05 @208 cma_debugfs_add_one(&cma_areas[i], cma_debugfs_root);