CVSROOT:        /cvs
Module name:    src
Changes by:     to...@cvs.openbsd.org   2023/08/06 08:30:08

Modified files:
        sys/dev/acpi   : acpi_apm.c 

Log message:
Add acpi_softc == NULL checks and return ENXIO instead of crashing on
non-acpi x86 machines.  This was lost in refactoring when moving /dev/apm
code from acpi.c to acpi_apm.c.

Found by Anton Lindqvist after report from xavier.s at mailoo dot org
ok kettenis@

Reply via email to