Skip to content

Commit 537d71b

Browse files
bvanasscheaxboe
authored andcommitted
blkcg: Fix kernel-doc warnings
Avoid that the following warnings are reported when building with W=1: block/blk-cgroup.c:1755: warning: Function parameter or member 'q' not described in 'blkcg_schedule_throttle' block/blk-cgroup.c:1755: warning: Function parameter or member 'use_memdelay' not described in 'blkcg_schedule_throttle' block/blk-cgroup.c:1779: warning: Function parameter or member 'blkg' not described in 'blkcg_add_delay' block/blk-cgroup.c:1779: warning: Function parameter or member 'now' not described in 'blkcg_add_delay' block/blk-cgroup.c:1779: warning: Function parameter or member 'delta' not described in 'blkcg_add_delay' Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 373e915 commit 537d71b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

block/blk-cgroup.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,8 +1736,8 @@ void blkcg_maybe_throttle_current(void)
17361736

17371737
/**
17381738
* blkcg_schedule_throttle - this task needs to check for throttling
1739-
* @q - the request queue IO was submitted on
1740-
* @use_memdelay - do we charge this to memory delay for PSI
1739+
* @q: the request queue IO was submitted on
1740+
* @use_memdelay: do we charge this to memory delay for PSI
17411741
*
17421742
* This is called by the IO controller when we know there's delay accumulated
17431743
* for the blkg for this task. We do not pass the blkg because there are places
@@ -1769,8 +1769,9 @@ void blkcg_schedule_throttle(struct request_queue *q, bool use_memdelay)
17691769

17701770
/**
17711771
* blkcg_add_delay - add delay to this blkg
1772-
* @now - the current time in nanoseconds
1773-
* @delta - how many nanoseconds of delay to add
1772+
* @blkg: blkg of interest
1773+
* @now: the current time in nanoseconds
1774+
* @delta: how many nanoseconds of delay to add
17741775
*
17751776
* Charge @delta to the blkg's current delay accumulation. This is used to
17761777
* throttle tasks if an IO controller thinks we need more throttling.

0 commit comments

Comments
 (0)