CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2019/04/25 03:33:47

Modified files:
        sys/dev/pci/drm/i915: i915_drv.c 

Log message:
Since we now have an attachhook, the actual interrupt handler is installed
late, after we enable interrupts.  If the interrupt pin used for inteldrm(4)
is shared with another device, we may end up being called before the actual
interrup handler is installed resulting in a null-pointer dereference.
Fix this by adding an explicit check that the interrupt handler function
pointer has been set.

ok matthieu@, jsg@

Reply via email to