Re: [PATCH v2 1/2] mm/damon/core: add 'struct kdamond' abstraction layer

From: kernel test robot
Date: Fri May 31 2024 - 14:57:14 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-2-yorha.op%40gmail.com
patch subject: [PATCH v2 1/2] mm/damon/core: add 'struct kdamond' abstraction layer
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240601/202406010253.LLixn74L-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/202406010253.LLixn74L-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/202406010253.LLixn74L-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> mm/damon/core.c:511: 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'


vim +511 mm/damon/core.c

509
510 /**
> 511 * Adds newly allocated and configured @ctx to @kdamond.
512 */
513 void damon_add_ctx(struct kdamond *kdamond, struct damon_ctx *ctx)
514 {
515 list_add_tail(&ctx->list, &kdamond->contexts);
516 ++kdamond->nr_ctxs;
517 }
518

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