In Linux this takes a refcount_t argument but in linuxkpi struct kref
uses an atomic_t for the refcount and code in drm directly uses this
function with a kref so use an atomic_t here.
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential D36099
linuxkpi: Add refcount_dec_and_test manu on Aug 10 2022, 6:46 AM. Authored by Tags None Referenced Files
Details In Linux this takes a refcount_t argument but in linuxkpi struct kref Sponsored by: Beckhoff Automation GmbH & Co. KG
Diff Detail
Event Timeline
|