Skip to contentSkip to conversation

gcov: fix kernel-doc markup issue

PATCH Applied Alex Shi 2 participants 2 messages Nov 13, 2020 – Nov 19, 2020 Gcov based kernel profiling

lore
Share & tools
lore

Alex Shi

author
#0 lore raw

PATCH 1/1 gcov: fix kernel-doc markup issue

Fix the following kernel-doc issue in gcov:
kernel/gcov/gcc_4_7.c:238: warning: Function parameter or member 'dst' not described in 'gcov_info_add'
kernel/gcov/gcc_4_7.c:238: warning: Function parameter or member 'src' not described in 'gcov_info_add'
kernel/gcov/gcc_4_7.c:238: warning: Excess function parameter 'dest' description in 'gcov_info_add'
kernel/gcov/gcc_4_7.c:238: warning: Excess function parameter 'source' description in 'gcov_info_add'

---
 kernel/gcov/gcc_4_7.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/gcov/gcc_4_7.c +3 -3
index 53c67c87f141..789c2a8ba801 100644
@@ -229,10 +229,10 @@ int gcov_info_is_compatible(struct gcov_info *info1, struct gcov_info *info2)
 
 /**
  * gcov_info_add - add up profiling data
- * @dest: profiling data set to which data is added
- * @source: profiling data set which is added
+ * @dst: profiling data set to which data is added
+ * @src: profiling data set which is added
  *
- * Adds profiling counts of @source to @dest.
+ * Adds profiling counts of @src to @dst.
  */
 void gcov_info_add(struct gcov_info *dst, struct gcov_info *src)
 {
Signature · 1 line
2.29.GIT
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Alex Shi

Fix the following kernel-doc issue in gcov:
kernel/gcov/gcc_4_7.c:238: warning: Function parameter or member 'dst' not described in 'gcov_info_add'
kernel/gcov/gcc_4_7.c:238: warning: Function parameter or member 'src' not described in 'gcov_info_add'
kernel/gcov/gcc_4_7.c:238: warning: Excess function parameter 'dest' description in 'gcov_info_add'
kernel/gcov/gcc_4_7.c:238: warning: Excess function parameter 'source' description in 'gcov_info_add'

Quoted 3 lines

Looks good - thanks for the fix!

Andrew, could you add this patch via your tree?

Regards,
Peter

Signature · 2 lines
Peter Oberparleiter
Linux on Z Development - IBM Germany