[PATCH v3] resource: Downgrade "resource sanity check" warning to debug level
From: Manuel Quintero Fonseca
Date: Fri May 22 2026 - 20:56:41 EST
The "resource sanity check" warning currently triggers on certain
systems, causing unnecessary noise in the kernel logs for users.
Following the maintainer's suggestion, this patch downgrades the log
level from pr_warn to pr_debug.
This change reduces log clutter while keeping the diagnostic
information available for debugging purposes if needed.
Signed-off-by: Manuel Quintero Fonseca <sakunix@xxxxxxxxx>
---
v3:
- Downgrade 'resource sanity check' warning to debug level to reduce log
noise, as suggested by the maintainer.
- Drop the previous DMI-based quirk approach as it is no longer needed.
kernel/resource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/resource.c b/kernel/resource.c
index d02a53fb95d8..e676ea99c93c 100644
--- a/kernel/resource.c
+++ b/kernel/resource.c
@@ -1859,7 +1859,7 @@ int iomem_map_sanity_check(resource_size_t addr, unsigned long size)
if (p->flags & IORESOURCE_BUSY)
continue;
- pr_warn("resource sanity check: requesting [mem %pa-%pa], which spans more than %s %pR\n",
+ pr_debug("resource sanity check: requesting [mem %pa-%pa], which spans more than %s %pR\n",
&addr, &end, p->name, p);
err = -1;
break;
--
2.47.3