linux/drivers/dax
Dan Williams 471d88441e cxl/region: Constify cxl_region_resource_contains()
The call to cxl_region_resource_contains() in hmem_register_cxl_device()
need not cast away 'const'. The problem is the usage of the
bus_for_each_dev() API which does not mark its @data parameter as 'const'.
Switch to bus_find_device() which does take 'const' @data, fixup
cxl_region_resource_contains() and its caller.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://patch.msgid.link/20260327052821.440749-5-dan.j.williams@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
2026-04-01 08:12:17 -07:00
..
hmem cxl/region: Constify cxl_region_resource_contains() 2026-04-01 08:12:17 -07:00
bus.c dax: Track all dax_region allocations under a global resource tree 2026-03-27 10:21:43 -07:00
bus.h dax/hmem, cxl: Defer and resolve Soft Reserved ownership 2026-03-27 10:25:47 -07:00
cxl.c dax/hmem, cxl: Defer and resolve Soft Reserved ownership 2026-03-27 10:25:47 -07:00
dax-private.h drivers/dax: add some missing kerneldoc comment fields for struct dev_dax 2026-01-14 22:16:26 -08:00
device.c mm: update all remaining mmap_prepare users to use vma_flags_t 2026-02-12 15:42:58 -08:00
Kconfig dax/cxl: Fix HMEM dependencies 2026-04-01 08:12:17 -07:00
kmem.c Convert 'alloc_flex' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
Makefile dax/cxl, hmem: Initialize hmem early and defer dax_cxl binding 2026-03-27 10:20:25 -07:00
pmem.c mm: remove callers of pfn_t functionality 2025-07-09 22:42:19 -07:00
super.c Coccinelle-based conversion to use ->i_state accessors 2025-10-20 20:22:26 +02:00