CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2018/04/18 06:05:31

Modified files:
        sys/dev/pci/drm: drm_linux.h 

Log message:
handle failure better in release_firmware()/request_firmware()

Alloc the containing struct with M_ZERO so if loadfirmware() fails and
doesn't set the pointer we won't try to free an address based on
uninitialised memory.

Use M_DEVBUF not M_DRM when freeing the buffer allocated by
loadfirmware().

Reply via email to