Skip to content

Commit f403034

Browse files
rddunlapaxboe
authored andcommitted
blk-cgroup: rwstat: fix kernel-doc warnings in header file
Correct the function parameters to eliminate kernel-doc warnings: blk-cgroup-rwstat.h:63: warning: Function parameter or struct member 'opf' not described in 'blkg_rwstat_add' blk-cgroup-rwstat.h:63: warning: Excess function parameter 'op' description in 'blkg_rwstat_add' blk-cgroup-rwstat.h:91: warning: Function parameter or struct member 'result' not described in 'blkg_rwstat_read' Signed-off-by: Randy Dunlap <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Josef Bacik <[email protected]> Cc: Jens Axboe <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent 4fa5c37 commit f403034

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

block/blk-cgroup-rwstat.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void blkg_rwstat_recursive_sum(struct blkcg_gq *blkg, struct blkcg_policy *pol,
5252
/**
5353
* blkg_rwstat_add - add a value to a blkg_rwstat
5454
* @rwstat: target blkg_rwstat
55-
* @op: REQ_OP and flags
55+
* @opf: REQ_OP and flags
5656
* @val: value to add
5757
*
5858
* Add @val to @rwstat. The counters are chosen according to @rw. The
@@ -83,8 +83,9 @@ static inline void blkg_rwstat_add(struct blkg_rwstat *rwstat,
8383
/**
8484
* blkg_rwstat_read - read the current values of a blkg_rwstat
8585
* @rwstat: blkg_rwstat to read
86+
* @result: where to put the current values
8687
*
87-
* Read the current snapshot of @rwstat and return it in the aux counts.
88+
* Read the current snapshot of @rwstat and return it in the @result counts.
8889
*/
8990
static inline void blkg_rwstat_read(struct blkg_rwstat *rwstat,
9091
struct blkg_rwstat_sample *result)

0 commit comments

Comments
 (0)