The branch main has been updated by vexeduxr:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=3d5ef29825557bddc08b1171126026b051043194

commit 3d5ef29825557bddc08b1171126026b051043194
Author:     Ahmad Khalifa <vexed...@freebsd.org>
AuthorDate: 2025-07-11 12:08:54 +0000
Commit:     Ahmad Khalifa <vexed...@freebsd.org>
CommitDate: 2025-07-11 12:10:00 +0000

    acpi_gpiobus: don't print error message if _AEI object doesn't exist
    
    GPIO controllers aren't required to have an _AEI object.
    
    Reviewed by:    wulf
    Approved by:    imp (mentor)
    Differential Revision:  https://reviews.freebsd.org/D51236
---
 sys/dev/gpio/acpi_gpiobus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/gpio/acpi_gpiobus.c b/sys/dev/gpio/acpi_gpiobus.c
index f9468e0deda0..94f4e5771266 100644
--- a/sys/dev/gpio/acpi_gpiobus.c
+++ b/sys/dev/gpio/acpi_gpiobus.c
@@ -357,7 +357,7 @@ acpi_gpiobus_attach(device_t dev)
        status = AcpiWalkResources(handle, "_AEI", acpi_gpiobus_enumerate_aei,
            &ctx);
 
-       if (ACPI_FAILURE(status))
+       if (ACPI_FAILURE(status) && status != AE_NOT_FOUND)
                device_printf(dev, "Failed to enumerate AEI resources\n");
 
        return (0);

Reply via email to