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=1796387497; b=GLJb8gqohKgX/c08PpjuY5LaRPaxeJORejfUA/SZTtf4d/C1br8mabNfys4UalqH0/+0 3pqXTv3Z0rKIUg5ikI3fJPPSKeK2sBM+H59uCYTkaUk2lpcztidPwGjzhKtVXHp8V5ERE hkNxqR3MCge1Fn0wDy9JqJepPfTCyXOYUaVmNXcV3iMmHiWpK6LtL6Yuj/O7s1Zb645MS 03t7GmNeHlSi4gS0h9cUf6zESB2FlKEj/vhZ/gvO52ufKlZj5/nQvHsA/9nXIVyxMXK9N FCXuLIvAoQSJ+pZzfYu26F7ssTnjh3DJDWFtR/kyaQleT8JtN6QZiNk4dBZA8Gcj4VQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796387497; 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=1ucZWs06b2qzmcSr+4yaM9UIdVGG+xtVnriNYcKn7dk=; b=A52uit666zhDgJz42hrI6skis2PMi/xJ4gWmPa6SSUZgoJjbN7EObUZUeT8OF1tZOfyH K6cligqPviZQrM32DyURMXaAeGiU66GM18G/KW/HPAWwxh2ScrGiIr+TLIVF5BTPkErNk V5gMe3jLj6tw8Rv+xMfnVlMjHpdnfekN68KuEO4wV+NgIrZEN9psq8YGMCipDT6qvEtAh JYqd5jRx4f5AuttqnkoO3p1RTxRrH/PclKaeiq7D7UtNIVOnTmTXb3swWtj4W2WHCZSFS I/YRNMzB2I+xxxyENh3nJ8W+a1ZowM3sf226WvQYnDTmKCy7eXXDsHrC+C4q6nuithg== 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=vTqo7eQj; 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 98343606A32D; Fri, 4 Dec 2026 12:31:37 +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=vTqo7eQj Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0B661F000C2; Fri, 4 Dec 2026 12:31:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796387497; bh=1ucZWs06b2qzmcSr+4yaM9UIdVGG+xtVnriNYcKn7dk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=vTqo7eQjwEEs1vvd4I26ODITedKjmlukjJAXEEyUiYleKQtWbV5v9LpTL3XOt6au0 V/dhsyeEY4OCNW6CZkyVXESAzKbZwSZwpGNdvj9ZKa+5TG9rpMUIJucoq7zVSFq939 jSLHtu8ow+b4S7cAHu7kFWn4rO2Z4zvwKnt62gm8= 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.1 0268/1059] ACPI: glue: Rework the success message in acpi_device_notify() Date: Fri, 4 Dec 2026 18:56:39 +0900 Message-ID: <20261204100651.217294436@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100643.980430235@linuxfoundation.org> References: <20261204100643.980430235@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Rafael J. Wysocki [ Upstream commit aef7792cddcac7ab400912c2947a595401d4a7e8 ] Using an ACPI handle in the acpi_device_notify() success message is somewhat misleading because the "physical" device is not bound to an ACPI namespace object in that function, but to an ACPI device object attached to it. Moreover, the message is outright confusing for the "physical" devices bound to ACPI devices without ACPI namespace objects (for example, fixed event buttons). Address this by turning that message into a dev_dbg() one printed for the "physical" device and mentioning the name of the ACPI companion. Fixes: ab06eb920401 ("ACPI: scan: Register platform devices for fixed event buttons") Signed-off-by: Rafael J. Wysocki Reviewed-by: Andy Shevchenko Link: https://patch.msgid.link/2448150.ElGaqSPkdT@rafael.j.wysocki Signed-off-by: Rafael J. Wysocki Stable-dep-of: c94619c8a5b5 ("ACPI: glue: Carry out companion lookup under bus_type_sem") Signed-off-by: Sasha Levin --- drivers/acpi/glue.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c index 54cc709be3166..c01ebf20a9318 100644 --- a/drivers/acpi/glue.c +++ b/drivers/acpi/glue.c @@ -396,8 +396,7 @@ void acpi_device_notify(struct device *dev) adev->handler->bind(dev); done: - acpi_handle_debug(ACPI_HANDLE(dev), "Bound to device %s\n", - dev_name(dev)); + dev_dbg(dev, "Bound to ACPI device %s\n", acpi_dev_name(adev)); } void acpi_device_notify_remove(struct device *dev) -- 2.53.0