Add __free() support to eventfd and update drm_syncobj to use it as an example consumer.
A minor discrepancy I encountered is whether to put a semicolon after DEFINE_FREE(). It seems some in-tree code does, some doesn't. In the end, I followed the example set in core-api/cleanup.rst, and omitted it. Signed-off-by: Bence Csokas <[email protected]> --- Bence Csokas (2): eventfd: Add scope-based cleanup capability drm/syncobj: Use scope-based cleanup for eventfd_ctx drivers/gpu/drm/drm_syncobj.c | 9 ++++----- fs/eventfd.c | 3 +++ include/linux/eventfd.h | 3 +++ 3 files changed, 10 insertions(+), 5 deletions(-) --- base-commit: 893e11787f78e43b534e252249ac3fff4d1333f8 change-id: 20260826-efd-autofree-766608e8d8aa Best regards, -- Bence Csokas <[email protected]>
