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 after: 1 week

Details

Provenance
dumbbellAuthored on
Parents
rS296673: Oops, remove debugging forgotten in r296655.
Branches
Unknown
Tags
Unknown