Fix recently introduced kernel-doc warnings
Subsystems (3)
cover Fix recently introduced kernel-doc warnings
Hi Jens,
This patch series fixes two recently introduced kernel-doc warnings. Please consider these two patches for kernel v5.20.
Thanks,
Bart.
Bart Van Assche (2):
fs/buffer: Fix the ll_rw_block() kernel-doc header
blktrace: Fix the blk_fill_rwbs() kernel-doc header
fs/buffer.c | 5 ++--- kernel/trace/blktrace.c | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-)
PATCH 1/2 fs/buffer: Fix the ll_rw_block() kernel-doc header
Bring the ll_rw_block() kernel-doc header again in sync with the function prototype.
--- fs/buffer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
fs/buffer.c +2 -3
@@ -3049,14 +3049,13 @@ EXPORT_SYMBOL(submit_bh);/** * ll_rw_block: low-level access to block devices (DEPRECATED) -* @op: whether to %READ or %WRITE -* @op_flags: req_flag_bits +* @opf: block layer request operation and flags. * @nr: number of &struct buffer_heads in the array * @bhs: array of pointers to &struct buffer_head * * ll_rw_block() takes an array of pointers to &struct buffer_heads, and * requests an I/O operation on them, either a %REQ_OP_READ or a %REQ_OP_WRITE. -* @op_flags contains flags modifying the detailed I/O behavior, most notably +* @opf contains flags modifying the detailed I/O behavior, most notably * %REQ_RAHEAD. * * This function drops any buffer that it cannot get a lock on (with the
PATCH 2/2 blktrace: Fix the blk_fill_rwbs() kernel-doc header
In reply to Bart Van AsscheReflect recent changes in the blk_fill_rwbs() kernel-doc header.
--- kernel/trace/blktrace.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/trace/blktrace.c +3 -3
@@ -1873,11 +1873,11 @@ static ssize_t sysfs_blk_trace_attr_store(struct device *dev,/** * blk_fill_rwbs - Fill the buffer rwbs by mapping op to character string. * @rwbs: buffer to be filled -* @op: REQ_OP_XXX for the tracepoint +* @opf: request operation type (REQ_OP_XXX) and flags for the tracepoint * * Description: -* Maps the REQ_OP_XXX to character and fills the buffer provided by the -* caller with resulting string. +* Maps each request operation and flag to a single character and fills the +* buffer provided by the caller with resulting string. * **/ void blk_fill_rwbs (char *rwbs,blk_opf_t opf)
Quoted 8 lines · Bart Van Assche
This patch series fixes two recently introduced kernel-doc warnings. Please consider these two patches for kernel v5.20.
Thanks,
Bart.
[...]
Applied, thanks!
[1/2] fs/buffer: Fix the ll_rw_block() kernel-doc header
commit: f54541403b2f51d98aa65472ddb021b1ef7d1eed
[2/2] blktrace: Fix the blk_fill_rwbs() kernel-doc header
commit: 020e3618cc81abf11fe6bffaac27861ff94707ceBest regards,
Signature · 1 line
Jens Axboe