]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove typo in kernel-doc of set_disk_ro()
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Fri, 29 Jan 2021 04:55:05 +0000 (05:55 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 29 Jan 2021 14:15:50 +0000 (07:15 -0700)
commita772dcf599a0377ae3ab09e218ad5e231057d26c
tree77a5dcdbc08c1475655c75f903afb7ea5b45df38
parent954f13f61221638fa9ca8c07aa5e22a518909b7f
block: remove typo in kernel-doc of set_disk_ro()

Commit 340289dae60a ("block: add a hard-readonly flag to struct gendisk")
provides some kernel-doc for set_disk_ro(), but introduces a small typo.

Hence, make htmldocs warns on ./block/genhd.c:1441:

  warning: Function parameter or member 'read_only' not described in 'set_disk_ro'
  warning: Excess function parameter 'ready_only' description in 'set_disk_ro'

Remove that typo in the kernel-doc for set_disk_ro().

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c