From d179ee76aba9141666b367528f81972943ab54fe Mon Sep 17 00:00:00 2001 From: Manuel Quintero Fonseca Date: Fri, 22 May 2026 17:01:31 -0700 Subject: [PATCH] resource: downgrade "resource sanity check" warning to debug level The "resource sanity check" warning need not mean that there is a functional issue and in the cases when there isn't one, it is just useless and confusing noise. For this reason, downgrade the log level of it from "warn" to "debug". This reduces log clutter while keeping the diagnostic information available for debugging purposes if needed. Link: https://lore.kernel.org/20260523000131.7086-1-sakunix@yahoo.com Signed-off-by: Manuel Quintero Fonseca Cc: Andriy Shevchenko Cc: Bjorn Helgaas Cc: Hans de Goede Cc: Mika Westeberg Cc: "Rafael J. Wysocki" Signed-off-by: Andrew Morton --- kernel/resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/resource.c b/kernel/resource.c index 3d17e3196a3e..e60539a55541 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;