All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Fix sparse warnings in the block layer
@ 2026-12-04 22:10 Bart Van Assche
  2026-12-04 22:10 ` [PATCH 1/4] block: Fix sparse warnings in blk_op_str() Bart Van Assche
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bart Van Assche @ 2026-12-04 22:10 UTC (permalink / raw)
  To: Jens Axboe
  Cc: linux-block, Christoph Hellwig, Damien Le Moal, Bart Van Assche

Hi Jens,

This patch series fixes sparse warnings in the block layer core, in
blk-mq and in the block tracepoints. These warnings are caused by the
__bitwise annotations of blk_opf_t and blk_mq_req_flags_t and by the
__rcu annotation of struct request_queue::queue_hw_ctx. The warnings
fixed by patch 1/4 are only reported by sparse after a pending sparse
change has been merged (I plan to merge that sparse change soon). These
patches do not modify the code generated for x86-64 systems. Please
consider this patch series for the next merge window.

Thanks,

Bart.

Bart Van Assche (4):
  block: Fix sparse warnings in blk_op_str()
  block: Fix a sparse warning in str_to_blk_op()
  blk-mq: Fix sparse warnings in block_rq_tag_wait
  blk-mq: Use RCU helpers when accessing q->queue_hw_ctx

 block/blk-core.c             |  7 ++++---
 block/blk-mq.c               | 22 ++++++++++++++++++----
 include/trace/events/block.h |  2 +-
 3 files changed, 23 insertions(+), 8 deletions(-)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-04 22:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 22:10 [PATCH 0/4] Fix sparse warnings in the block layer Bart Van Assche
2026-12-04 22:10 ` [PATCH 1/4] block: Fix sparse warnings in blk_op_str() Bart Van Assche
2026-12-04 22:11 ` [PATCH 2/4] block: Fix a sparse warning in str_to_blk_op() Bart Van Assche
2026-12-04 22:11 ` [PATCH 3/4] blk-mq: Fix sparse warnings in block_rq_tag_wait Bart Van Assche
2026-12-04 22:11 ` [PATCH 4/4] blk-mq: Use RCU helpers when accessing q->queue_hw_ctx Bart Van Assche

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.