Skip to contentSkip to conversation

block: fix warning on 'make htmldocs'

PATCH Applied Ming Lei 2 participants 2 messages May 7, 2025 Block layer

lore
Share & tools
lore

Ming Lei

author
#0 lore raw

PATCH 1/1 block: fix warning on 'make htmldocs'

Fix the following warning when running 'make htmldocs':

+WARNING: include/linux/blk-mq.h:532 struct member 'update_nr_hwq_lock' not described in 'blk_mq_tag_set'

Fixes 98e68f67020c ("block: prevent adding/deleting disk during updating nr_hw_queues")
---
 include/linux/blk-mq.h | 3 +++
 1 file changed, 3 insertions(+)
include/linux/blk-mq.h +3 -0
index ef84d53095a6..906bf330ffb5 100644
@@ -507,6 +507,9 @@ enum hctx_type {
  *		   request_queue.tag_set_list.
  * @srcu:	   Use as lock when type of the request queue is blocking
  *		   (BLK_MQ_F_BLOCKING).
+ * @update_nr_hwq_lock:
+ * 		   Synchronize updating nr_hw_queues with add/del disk &
+ * 		   switching elevator.
  */
 struct blk_mq_tag_set {
 	const struct blk_mq_ops	*ops;
Signature · 1 line
2.47.1
maintainer Applied
#1 lore raw
Quoted 5 lines · Ming Lei

Fix the following warning when running 'make htmldocs':

+WARNING: include/linux/blk-mq.h:532 struct member 'update_nr_hwq_lock' not described in 'blk_mq_tag_set'

Applied, thanks!

[1/1] block: fix warning on 'make htmldocs'

      commit: f31acff017b1d80e649f674450d3b64d3265848c

Best regards,

Signature · 1 line
Jens Axboe