Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

gcov: clang: use correct function param names

Fix the function parameter names to match the function so that
the kernel-doc warnings disappear.

clang.c:273: warning: Function parameter or struct member 'dst' not described in 'gcov_info_add'
clang.c:273: warning: Function parameter or struct member 'src' not described in 'gcov_info_add'
clang.c:273: warning: Excess function parameter 'dest' description in 'gcov_info_add'
clang.c:273: warning: Excess function parameter 'source' description in 'gcov_info_add'

Link: https://lkml.kernel.org/r/20250111062944.910638-1-rdunlap@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Bill Wendling <morbo@google.com>
Cc: Justin Stitt <justinstitt@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Randy Dunlap and committed by
Andrew Morton
9c9ce355 69079443

+3 -3
+3 -3
kernel/gcov/clang.c
··· 264 264 265 265 /** 266 266 * gcov_info_add - add up profiling data 267 - * @dest: profiling data set to which data is added 268 - * @source: profiling data set which is added 267 + * @dst: profiling data set to which data is added 268 + * @src: profiling data set which is added 269 269 * 270 - * Adds profiling counts of @source to @dest. 270 + * Adds profiling counts of @src to @dst. 271 271 */ 272 272 void gcov_info_add(struct gcov_info *dst, struct gcov_info *src) 273 273 {