From mboxrd@z Thu Jan 1 00:00:00 1970 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=1795029252; b=qsTtFA5J23VUt581OnV6wMXZFk6tSv5n90rMTrtxBVAnyVxgZ5lWE079RTSL9lGZ1Q74 Z/uIhufafK8kzcPaWfvK4dPPk0A4QJv2ISQuRXLGqNm07deoOHSuGZCBBmerjspcmAw+Z crJHXEQrHK3NCcMHm4I7q1j4swcBAinDTmJiNkjljHRdAKMxoco/LDGphSiEbaYeo/rx7 mcQzZfOvzb4n0qimIAZ10Jv7H9EHhZYYkhZrcJI8CpG5YMvxUgSBGJxvL17jmiism7He/ TxYoKp/L/+c6GNIWZU+DqMjXyMJ3Y3O3oJvi9POmDzCdU1kxjThg0VUSPrFh76SwzLQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795029252; 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=y3sKb3M53LE+XXBjMe+XOGHUWvSH4HI80Jkyo0LEXEU=; b=0TL/SW/e9UWOURgx73+EHGUryhvld0ctyuXTkjn7hyKqd54ApwIpRzQm4KYYFCipw01O 2SJj+VEzL4SgN7Vko5ttl/B9qGBoeCE6Yx+iQIQ9k+tbDBy6zlitIQTMednzV7CT7ZZ4n Ugrv3LWrf+oeK7Ija3tLJvMabjFbuFpIvOFlvG98T/ZWC0uLu9n4TzvXycwTkKCS43BDJ Ts0c+8OYBdKwZ5reITc7epzJcI6HNJNU7dISAjvtY5OEQYCLjJzvx+jm4wLtXVVCHUYVk 6Z36crEnfMgOkbhpC+wBNXpQybWVJYmjxaF6onu8v4HB+klo94fna6plLV9VDo5/dRA== 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=i4hLCzC2; 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 17C63606A330; Wed, 18 Nov 2026 19:14:12 +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=i4hLCzC2 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6854A1F000C4; Wed, 18 Nov 2026 19:14:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795029251; bh=y3sKb3M53LE+XXBjMe+XOGHUWvSH4HI80Jkyo0LEXEU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=i4hLCzC2aCt5ntFJBSLWVJV/9gyk7VZS75QLvoWkzV9IRo5/PoXfd5hz8TJ2Wepbu Iqr7PIIoJuwXy2c//Ud6hMhve92HpPn2aVweFEr3X+kg1MLKZS7/2aA8LRcsxXEPqp GNpt0Nx4roi7hTrRaMQWrPvWTiNTxe/5Mv9102Qo= 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 6.12 0285/1756] ACPI: utils: Adjust message printing macros for ACPI objects Date: Wed, 18 Nov 2026 15:40:12 +0100 Message-ID: <20261118150019.754563055@linuxfoundation.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261118150007.957976754@linuxfoundation.org> References: <20261118150007.957976754@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 6.12-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 0e8d684ad9f43..82d913a0f20d8 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -1208,34 +1208,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