kernel/trace/pid_list.c:154: warning: Function parameter or member 'pid_list' not described in 'trace_pid_list_free'

From: kernel test robot
Date: Wed Nov 15 2023 - 13:18:06 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c42d9eeef8e5ba9292eda36fd8e3c11f35ee065c
commit: 6954e415264eeb5ee6be0d22d789ad12c995ee64 tracing: Place trace_pid_list logic into abstract functions
date: 2 years, 1 month ago
config: x86_64-randconfig-x012-20230629 (https://download.01.org/0day-ci/archive/20231116/202311160229.EVnWvmJ9-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231116/202311160229.EVnWvmJ9-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/202311160229.EVnWvmJ9-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> kernel/trace/pid_list.c:154: warning: Function parameter or member 'pid_list' not described in 'trace_pid_list_free'


vim +154 kernel/trace/pid_list.c

147
148 /**
149 * trace_pid_list_free - Frees an allocated pid_list.
150 *
151 * Frees the memory for a pid_list that was allocated.
152 */
153 void trace_pid_list_free(struct trace_pid_list *pid_list)
> 154 {

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