]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cleanup: add a scoped version of CLASS()
authorChristian Brauner <brauner@kernel.org>
Fri, 11 Jul 2025 13:47:48 +0000 (15:47 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 11 Jul 2025 14:01:07 +0000 (16:01 +0200)
commit5c21c5f22d0701ac6c1cafc0e8de4bf42e5c53e5
treecf641185351a12a3dce4595fe4a77c572aada9ab
parenta6ed5691b2428cc578908ee050d5d4908a6e065e
cleanup: add a scoped version of CLASS()

This will make it possible to use:

scoped_class() {
}

constructs to limit variables to certain scopes and still perform
auto-cleanup.

Signed-off-by: Christian Brauner <brauner@kernel.org>
include/linux/cleanup.h