summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorKunwu Chan <chentao@kylinos.cn>2024-02-23 18:16:12 +0800
committerPaul Moore <paul@paul-moore.com>2024-02-23 17:33:31 -0500
commitedc6670233a333ccfd1ec0548f068bd121d209c8 (patch)
treecfb528410ff58ffd71f4fb570dfcd3b6106c961e /security
parent260017f31a8c3879be5f9048a46f382b06c1923a (diff)
downloadlinux-stable-edc6670233a333ccfd1ec0548f068bd121d209c8.tar.gz
linux-stable-edc6670233a333ccfd1ec0548f068bd121d209c8.tar.bz2
linux-stable-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 'security')
0 files changed, 0 insertions, 0 deletions