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-reserved-memory-Document-Tegra-VPR/20260123-001244
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.org
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/[email protected]/config)
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/[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 >>):

   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);

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to