aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-03-20 16:18:45 -0400
committerJens Axboe <axboe@kernel.dk>2019-03-20 16:39:09 -0400
commit537d71b3f774c3e825540ab626bad6c0ed2b5ff7 (patch)
tree15a75d3b99f7ef2b622dbf5b9bb484bf1290b88a /block/blk-cgroup.c
parent373e915cd8e84544609eced57a44fbc084f8d60f (diff)
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>
Diffstat (limited to 'block/blk-cgroup.c')
-rw-r--r--block/blk-cgroup.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index 77f37ef8ef06..617a2b3f7582 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -1736,8 +1736,8 @@ out:
1736 1736
1737/** 1737/**
1738 * blkcg_schedule_throttle - this task needs to check for throttling 1738 * blkcg_schedule_throttle - this task needs to check for throttling
1739 * @q - the request queue IO was submitted on 1739 * @q: the request queue IO was submitted on
1740 * @use_memdelay - do we charge this to memory delay for PSI 1740 * @use_memdelay: do we charge this to memory delay for PSI
1741 * 1741 *
1742 * This is called by the IO controller when we know there's delay accumulated 1742 * This is called by the IO controller when we know there's delay accumulated
1743 * for the blkg for this task. We do not pass the blkg because there are places 1743 * 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)
1769 1769
1770/** 1770/**
1771 * blkcg_add_delay - add delay to this blkg 1771 * blkcg_add_delay - add delay to this blkg
1772 * @now - the current time in nanoseconds 1772 * @blkg: blkg of interest
1773 * @delta - how many nanoseconds of delay to add 1773 * @now: the current time in nanoseconds
1774 * @delta: how many nanoseconds of delay to add
1774 * 1775 *
1775 * Charge @delta to the blkg's current delay accumulation. This is used to 1776 * Charge @delta to the blkg's current delay accumulation. This is used to
1776 * throttle tasks if an IO controller thinks we need more throttling. 1777 * throttle tasks if an IO controller thinks we need more throttling.