Skip to content

Commit cd1a8d7

Browse files
twlskiAlisonSchofield
authored andcommitted
dax/bus: Upgrade resource conflict message to dev_err() in alloc_dax_region()
The dax_region resource conflict in alloc_dax_region() indicates a serious configuration problem — two subsystems (e.g. dax_hmem and dax_cxl) are attempting to register overlapping address ranges. This is not a transient or debug-level condition; it represents a genuine resource conflict that an administrator needs to be aware of. Promote the log level from dev_dbg() to dev_err() so that the conflict is visible by default without requiring dynamic debug to be enabled. Suggested-by: Dan Williams <dan.j.williams@intel.com> Link: https://lore.kernel.org/linux-cxl/69c1a8d1c0fa9_7ee3100a1@dwillia2-mobl4.notmuch/ Signed-off-by: Tomasz Wolski <tomasz.wolski@fujitsu.com> Reviewed-by: Alison Schofield <alison.schofield@intel.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Richard Cheng <icheng@nvidia.com> Link: https://patch.msgid.link/20260528064546.23362-1-tomasz.wolski@fujitsu.com Signed-off-by: Alison Schofield <alison.schofield@intel.com>
1 parent 1a6b644 commit cd1a8d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/dax/bus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ struct dax_region *alloc_dax_region(struct device *parent, int region_id,
670670

671671
rc = request_resource(&dax_regions, &dax_region->res);
672672
if (rc) {
673-
dev_dbg(parent, "dax_region resource conflict for %pR\n",
673+
dev_err(parent, "dax_region resource conflict for %pR\n",
674674
&dax_region->res);
675675
goto err_res;
676676
}

0 commit comments

Comments
 (0)