Skip to content

Commit 1d6df9d

Browse files
Yang Liaxboe
Yang Li
authored andcommitted
blk-cgroup: Fix some kernel-doc comments
Make the description of @gendisk to @disk in blkcg_schedule_throttle() to clear the below warnings: block/blk-cgroup.c:1850: warning: Function parameter or member 'disk' not described in 'blkcg_schedule_throttle' block/blk-cgroup.c:1850: warning: Excess function parameter 'gendisk' description in 'blkcg_schedule_throttle' Fixes: de185b5 ("blk-cgroup: pass a gendisk to blkcg_schedule_throttle") Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3338 Reported-by: Abaci Robot <[email protected]> Signed-off-by: Yang Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent d3a5738 commit 1d6df9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

block/blk-cgroup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1831,7 +1831,7 @@ void blkcg_maybe_throttle_current(void)
18311831

18321832
/**
18331833
* blkcg_schedule_throttle - this task needs to check for throttling
1834-
* @gendisk: disk to throttle
1834+
* @disk: disk to throttle
18351835
* @use_memdelay: do we charge this to memory delay for PSI
18361836
*
18371837
* This is called by the IO controller when we know there's delay accumulated

0 commit comments

Comments
 (0)