Re: kernel/fork.c:1134: warning: Function parameter or member 'mm' not described in 'set_mm_exe_file'

From: Randy Dunlap
Date: Mon Oct 09 2023 - 14:39:11 EST




On 10/9/23 11:30, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 94f6f0550c625fab1f373bb86a6669b45e9748b3
> commit: b1fbfcb4a20949df08dd995927cdc5ad220c128d kbuild: make single target builds even faster
> date: 3 years, 11 months ago
> config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20231010/202310100237.RjecPfNo-lkp@xxxxxxxxx/config)
> compiler: or1k-linux-gcc (GCC) 12.3.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231010/202310100237.RjecPfNo-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/202310100237.RjecPfNo-lkp@xxxxxxxxx/
>

Fixes for kernel/fork.c are here:
https://lore.kernel.org/all/20230824193644.3029141-1-willy@xxxxxxxxxxxxx/

are should be in the docs-next tree (I guess).

> All warnings (new ones prefixed by >>):
>
>>> kernel/fork.c:1134: warning: Function parameter or member 'mm' not described in 'set_mm_exe_file'
>>> kernel/fork.c:1134: warning: Function parameter or member 'new_exe_file' not described in 'set_mm_exe_file'
>>> kernel/fork.c:1158: warning: Function parameter or member 'mm' not described in 'get_mm_exe_file'
>>> kernel/fork.c:1178: warning: Function parameter or member 'task' not described in 'get_task_exe_file'
>>> kernel/fork.c:1203: warning: Function parameter or member 'task' not described in 'get_task_mm'
> --


--
~Randy