CVSROOT: /cvs Module name: src Changes by: an...@cvs.openbsd.org 2022/06/28 10:29:57
Modified files: sys/dev/acpi : com_acpi.c Log message: A com_acpi_softc pointer is used as the interrupt callback cookie which is later on interpreted as a com_softc pointer. This is not a problem in practice as a com_softc structure is the first member of the com_acpi_softc structure. Using the actual types consistently yields a better symmetry in my opinion between registering the interrupt and the corresponding interrupt handler. ok deraadt@ kettenis@