* [PATCH v1] ACPI: scan: Drop useless and noisy debug statement
@ 2026-08-31 20:04 Rafael J. Wysocki
0 siblings, 0 replies; only message in thread
From: Rafael J. Wysocki @ 2026-08-31 20:04 UTC (permalink / raw)
To: Linux ACPI; +Cc: LKML
From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
The debug message printing statement in handle_to_device() is
super-noisy because it triggers whenever the presence of an
attached struct acpi_device is checked for the given object in
the ACPI namespace and it turns out that there is none. That
is a perfectly valid situation and the lack of an attached
struct acpi_device is not particularly interesting, so drop
that message.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
drivers/acpi/scan.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -639,10 +639,9 @@ static struct acpi_device *handle_to_dev
status = acpi_get_data_full(handle, acpi_scan_drop_device,
(void **)&adev, callback);
- if (ACPI_FAILURE(status) || !adev) {
- acpi_handle_debug(handle, "No context!\n");
+ if (ACPI_FAILURE(status) || !adev)
return NULL;
- }
+
return adev;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-31 20:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31 20:04 [PATCH v1] ACPI: scan: Drop useless and noisy debug statement Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox