Files
erofs-linux/drivers/mtd/ubi
Mateusz Nowicki b040a1a452 block: switch numa_node to int in blk_mq_hw_ctx and init_request
numa_node in blk_mq_hw_ctx and the matching argument of
blk_mq_ops::init_request can be NUMA_NO_NODE (-1).  Declared as
unsigned int, NUMA_NO_NODE becomes UINT_MAX and walks off
nvme_dev::descriptor_pools[] on CONFIG_NUMA=n [1].

Switch the field and the callback prototype to int and update all
in-tree init_request implementations.  No functional change:
cpu_to_node(), kmalloc_node() and blk_alloc_flush_queue() already
take int.

Link: https://lore.kernel.org/linux-nvme/[email protected]/ [1]
Link: https://lore.kernel.org/linux-nvme/[email protected]/
Suggested-by: Caleb Sander Mateos <[email protected]>
Suggested-by: Sung-woo Kim <[email protected]>
Signed-off-by: Mateusz Nowicki <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
2026-05-26 11:01:55 -06:00
..
…
…
…
…
…
…
…