Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795054862; b=HrNwmiu04pCjlZZHGgZcOj4kXxTFx2rVDF/WCFgzPJtS5iYHqDn90o4B6K05lQbMw7Cq gIzpDRtTpTqypn6H8KhrM1/yxiZWvPDowa4kOaFfFlPc3CNV0/w5uxtG2XU7XSUH39kMD 8ox88iJafXdcSI+0U1iMPqTewz+YGl8PsCGwkgjGA2mj60WowLsiPExipCFjtD+2MyZyt 6i8ZS00aimf1jPt/BwWn4/UYdGtzpyNCljfwt6dh4O9SmxfeNo3cYn45YvYzd6EEoTY8B sbGWyAN68nyki/chMwnyM3T+KEwfzjvxD2CT38o7In1aTjkA2nCfCAv7H0aHdXDW+7w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795054862; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=I+X6sj8sRB4x7KlosjhDLIrf+okHooL8zY5ubONIL4w=; b=ktI4G7Q3R9PAcWn66701w/5JeswGy/YJm5vCkV4AzzUo3cqQ9JEzvo0d/3Mg/ik+iB0p v0nmdcnMVWsOci1irbkbmJdhj+sOtodvsb99SFniBNwGSHv3jMqnjr3KcUebsmHDAYl8T mN4nGZR12pic3xHw4MWQ9MOnfKfeCmGgY0nyfXOK8kDitSnCa3TSwzaSE8a58NkjoM4x0 ZVVSdV7/RV+T0jP8UbbQh9lLGDA/bgBGAuCk1LX2bmRM3BPsgX2yPzD+zS//3zQytvXOq AxkOPUAZe+h54qk4MYYKXZx34s3Pioe/TxIcuyZ7F/kkKKZclqePyktk04X5ACWABlw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=aAHw0yuq; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97385606A31C; Thu, 19 Nov 2026 02:21:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=aAHw0yuq Received: by smtp.kernel.org (Postfix) with ESMTPSA id F01FC1F000C4; Thu, 19 Nov 2026 02:21:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795054862; bh=I+X6sj8sRB4x7KlosjhDLIrf+okHooL8zY5ubONIL4w=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=aAHw0yuqo2RYyuSAbBUb5kAa5qx0Hi1ZKd0tTv5nP3hu9KOjlVnPhcRIVO4NcG3b0 nJF7nB7UTT4+cC7PjKspiOmvqaKo/0D2dJkfJwRgDh05ZgID6cONNhrRam8ui/IWWo WQwO8y/XzAVmBKcxpIgc8OxM6z4CUpZu7fAAJQt0= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, "Rafael J. Wysocki" , Andy Shevchenko , Sasha Levin Subject: [PATCH 5.15 1419/2214] ACPI: utils: Adjust message printing macros for ACPI objects Date: Wed, 18 Nov 2026 15:51:35 +0100 Message-ID: <20261118150107.984618757@linuxfoundation.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261118150009.797899913@linuxfoundation.org> References: <20261118150009.797899913@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Rafael J. Wysocki [ Upstream commit 78ddbfaa72d68acc98cd5ba12eca071d452702c4 ] The majority of acpi_handle_() macros use neither pr_fmt() nor dev_fmt() and acpi_handle_debug() uses pr_fmt() like dev_fmt(), but only if dynamic debug is compiled in. For more consistency, redefine all of the macros in question to use dev_fmt() because they are more similar to the analogous dev_*() family of macros than to the pr_*() ones and make all of them use it in the same way. While at it, rephrase the comment documenting those macros for more clarity. Fixes: 45fef5b88d1f ("ACPI: add dynamic_debug support") Signed-off-by: Rafael J. Wysocki Reviewed-by: Andy Shevchenko Link: https://patch.msgid.link/2300525.irdbgypaU6@rafael.j.wysocki Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- include/linux/acpi.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 42f58a54dff09..cbfcbbd05b5d4 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -1090,34 +1090,34 @@ void __acpi_handle_debug(struct _ddebug *descriptor, acpi_handle handle, const c #endif /* - * acpi_handle_: Print message with ACPI prefix and object path + * acpi_handle_ - Print a message with ACPI prefix and object path * - * These interfaces acquire the global namespace mutex to obtain an object - * path. In interrupt context, it shows the object path as . + * In thread context, the global namespace mutex is acquired to obtain the + * object path. In interrupt context, the object path is shown as . */ #define acpi_handle_emerg(handle, fmt, ...) \ - acpi_handle_printk(KERN_EMERG, handle, fmt, ##__VA_ARGS__) + acpi_handle_printk(KERN_EMERG, handle, dev_fmt(fmt), ##__VA_ARGS__) #define acpi_handle_alert(handle, fmt, ...) \ - acpi_handle_printk(KERN_ALERT, handle, fmt, ##__VA_ARGS__) + acpi_handle_printk(KERN_ALERT, handle, dev_fmt(fmt), ##__VA_ARGS__) #define acpi_handle_crit(handle, fmt, ...) \ - acpi_handle_printk(KERN_CRIT, handle, fmt, ##__VA_ARGS__) + acpi_handle_printk(KERN_CRIT, handle, dev_fmt(fmt), ##__VA_ARGS__) #define acpi_handle_err(handle, fmt, ...) \ - acpi_handle_printk(KERN_ERR, handle, fmt, ##__VA_ARGS__) + acpi_handle_printk(KERN_ERR, handle, dev_fmt(fmt), ##__VA_ARGS__) #define acpi_handle_warn(handle, fmt, ...) \ - acpi_handle_printk(KERN_WARNING, handle, fmt, ##__VA_ARGS__) + acpi_handle_printk(KERN_WARNING, handle, dev_fmt(fmt), ##__VA_ARGS__) #define acpi_handle_notice(handle, fmt, ...) \ - acpi_handle_printk(KERN_NOTICE, handle, fmt, ##__VA_ARGS__) + acpi_handle_printk(KERN_NOTICE, handle, dev_fmt(fmt), ##__VA_ARGS__) #define acpi_handle_info(handle, fmt, ...) \ - acpi_handle_printk(KERN_INFO, handle, fmt, ##__VA_ARGS__) + acpi_handle_printk(KERN_INFO, handle, dev_fmt(fmt), ##__VA_ARGS__) #if defined(DEBUG) #define acpi_handle_debug(handle, fmt, ...) \ - acpi_handle_printk(KERN_DEBUG, handle, fmt, ##__VA_ARGS__) + acpi_handle_printk(KERN_DEBUG, handle, dev_fmt(fmt), ##__VA_ARGS__) #else #if defined(CONFIG_DYNAMIC_DEBUG) #define acpi_handle_debug(handle, fmt, ...) \ _dynamic_func_call(fmt, __acpi_handle_debug, \ - handle, pr_fmt(fmt), ##__VA_ARGS__) + handle, dev_fmt(fmt), ##__VA_ARGS__) #else #define acpi_handle_debug(handle, fmt, ...) \ ({ \ -- 2.53.0