git: acpi_video(4): Fix detach panic.

Imre Vadasz ivadasz at
Fri Feb 27 16:03:20 PST 2015

commit a8343f8df3c6fd551d10c36ddafdd3d201acdef9
Author: Imre Vadasz <imre at>
Date:   Sat Feb 28 00:51:27 2015 +0100

    acpi_video(4): Fix detach panic.
    * The "if ((adr & DOD_DEVID_MASK_FULL) == DOD_DEVID_LCD)" test from
      acpi_video_vo_init was missing in acpi_video_vo_destroy. This meant
      that on some machines we ended up calling STAILQ_REMOVE with an element
      not contained in the list, which causes a panic since STAILQ_REMOVE
      doesn't check for the end of the list.

Summary of changes:
 sys/dev/acpica/acpi_video/acpi_video.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

DragonFly BSD source repository

More information about the Commits mailing list