Re: [PATCH 02/51] drm/i915: Don't clear drvdata in ->release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Daniel Vetter (2020-02-21 21:02:30)
> For two reasons:
> 
> - The driver core clears this already for us after we're unloaded in
>   __device_release_driver().

Even if we abort before loading?

History notes that i915_pci_remove was called with a stale pointer on
error.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux