Re: [PATCH v2 2/2] mm/damon/core: implement multi-context support

From: kernel test robot
Date: Fri May 31 2024 - 16:11:21 EST


Hi Alex,

kernel test robot noticed the following build warnings:

[auto build test WARNING on v6.9]
[also build test WARNING on linus/master next-20240531]
[cannot apply to sj/damon/next akpm-mm/mm-everything v6.10-rc1]
[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/Alex-Rusuf/mm-damon-core-add-struct-kdamond-abstraction-layer/20240531-202756
base: v6.9
patch link: https://lore.kernel.org/r/20240531122320.909060-3-yorha.op%40gmail.com
patch subject: [PATCH v2 2/2] mm/damon/core: implement multi-context support
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240601/202406010349.tixi9sK3-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240601/202406010349.tixi9sK3-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/202406010349.tixi9sK3-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

mm/damon/core.c:513: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Adds newly allocated and configured @ctx to @kdamond.
mm/damon/core.c:729: warning: Function parameter or struct member 'kdamond' not described in 'damon_kdamond_running'
>> mm/damon/core.c:742: warning: Function parameter or struct member 'kdamond' not described in 'kdamond_nr_ctxs'
mm/damon/core.c:1596: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Returns minimum wait time for monitoring context if it hits watermarks,


vim +742 mm/damon/core.c

737
738 /**
739 * kdamond_nr_ctxs() - Return number of contexts for this kdamond.
740 */
741 static int kdamond_nr_ctxs(struct kdamond *kdamond)
> 742 {
743 struct list_head *pos;
744 int nr_ctxs = 0;
745
746 list_for_each(pos, &kdamond->contexts)
747 ++nr_ctxs;
748
749 return nr_ctxs;
750 }
751

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