Skip to content

Commit 9c9ce35

Browse files
rddunlapakpm00
authored andcommitted
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/[email protected] Signed-off-by: Randy Dunlap <[email protected]> Cc: Peter Oberparleiter <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Nick Desaulniers <[email protected]> Cc: Bill Wendling <[email protected]> Cc: Justin Stitt <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 6907944 commit 9c9ce35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kernel/gcov/clang.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,10 @@ int gcov_info_is_compatible(struct gcov_info *info1, struct gcov_info *info2)
264264

265265
/**
266266
* 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
269269
*
270-
* Adds profiling counts of @source to @dest.
270+
* Adds profiling counts of @src to @dst.
271271
*/
272272
void gcov_info_add(struct gcov_info *dst, struct gcov_info *src)
273273
{

0 commit comments

Comments
 (0)