HomeFreeBSD

drm: Fix dev->ioctl_count references leak

Description

drm: Fix dev->ioctl_count references leak

This fixes the following error:
kernel: error: [drm:pid1167:drm_release] *ERROR* Device busy: 2

Because of that, drm_lastclose() was not called, leading to a few memory
leaks once the driver was unloaded.

MFC of: r296674

Details

Provenance
dumbbellAuthored on
Parents
rS297045: Tag ACPICA 20160318.
Branches
Unknown
Tags
Unknown