mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
synced 2025-10-17 11:58:59 +10: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 |