diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2024-02-23 11:16:12 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2024-02-23 23:33:31 +0100 |
commit | edc6670233a333ccfd1ec0548f068bd121d209c8 (patch) | |
tree | cfb528410ff58ffd71f4fb570dfcd3b6106c961e /scripts/genksyms | |
parent | lsm: use default hook return value in call_int_hook() (diff) | |
download | linux-edc6670233a333ccfd1ec0548f068bd121d209c8.tar.xz linux-edc6670233a333ccfd1ec0548f068bd121d209c8.zip |
cred: Use KMEM_CACHE() instead of kmem_cache_create()
Commit 0a31bd5f2bbb ("KMEM_CACHE(): simplify slab cache creation")
introduces a new macro. Use the new KMEM_CACHE() macro instead of
direct kmem_cache_create() to simplify the creation of SLAB caches.
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
[PM: alignment fixes in both code and description]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'scripts/genksyms')
0 files changed, 0 insertions, 0 deletions