mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
If pinned initialization of drm::Device::Data fails, it calls
drm::Device::release via drm_dev_put. This materializes a reference to
&drm::Device, but it's not fully constructed yet, because initializing
`data` failed. It should not be dropped either. Instead, if pinned
initialization fails, make sure drm::Device::release isn't called.
Fixes:
|
||
|---|---|---|
| .. | ||
| gem | ||
| device.rs | ||
| driver.rs | ||
| file.rs | ||
| ioctl.rs | ||
| mod.rs | ||