mirror of
https://github.com/torvalds/linux.git
synced 2025-11-02 17:49:03 +02:00
In drm_dev_put() call in AlwaysRefCounted::dec_ref() we rely on struct
drm_device to be the first field in drm::Device, whereas everywhere
else we correctly obtain the address of the actual struct drm_device.
Analogous to the from_drm_device() helper, provide the
into_drm_device() helper in order to address this.
Fixes:
|
||
|---|---|---|
| .. | ||
| gem | ||
| device.rs | ||
| driver.rs | ||
| file.rs | ||
| ioctl.rs | ||
| mod.rs | ||