From: Coly Li Date: Mon, 21 Oct 2024 05:04:43 +0000 (+0800) Subject: cxl: downgrade a warning message to debug level in cxl_probe_component_regs() X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9474d586819940f00a98dd98015fe456f9b35452;p=linux.git cxl: downgrade a warning message to debug level in cxl_probe_component_regs() In cxl_probe_component_regs() the error message "Couldn't locate the CXL.cache and CXL.mem capability array header." is potentially a false positive error condition. Downgrade the message from error level to debug level by using dev_dbg() to print the message, and the end users won't worry about the message anymore. [djbw/iweiny: Fix up changelog] Reported-by: Kelvin Shieh Signed-off-by: Coly Li Cc: Dan Williams Cc: Jonathan Cameron Cc: Alison Schofield Reviewed-by: Dan Williams Link: https://patch.msgid.link/20241021050443.318712-1-colyli@suse.de Signed-off-by: Ira Weiny Signed-off-by: Dave Jiang --- diff --git a/drivers/cxl/core/regs.c b/drivers/cxl/core/regs.c index 1c1c10c8bc7a..429973a2165b 100644 --- a/drivers/cxl/core/regs.c +++ b/drivers/cxl/core/regs.c @@ -52,7 +52,7 @@ void cxl_probe_component_regs(struct device *dev, void __iomem *base, cap_array = readl(base + CXL_CM_CAP_HDR_OFFSET); if (FIELD_GET(CXL_CM_CAP_HDR_ID_MASK, cap_array) != CM_CAP_HDR_CAP_ID) { - dev_err(dev, + dev_dbg(dev, "Couldn't locate the CXL.cache and CXL.mem capability array header.\n"); return; }