Hi Linus, Two small audit patches for the Linux v6.9 merge window:
- Use the KMEM_CACHE() macro instead of kmem_cache_create() The guidance appears to be to use the KMEM_CACHE() macro when possible and there is no reason why we can't use the macro, so let's use it. - Remove an unnecessary assignment in audit_dupe_lsm_field() A return value variable was assigned a value in its declaration, but the declaration value is overwritten before the return value variable is ever referenced; drop the assignment at declaration time. Please merge when you have the chance, -Paul -- The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d: Linux 6.8-rc1 (2024-01-21 14:11:32 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git tags/audit-pr-20240312 for you to fetch changes up to aa13b709084a0287ef250a9fbde5993e4dfc3078: audit: use KMEM_CACHE() instead of kmem_cache_create() (2024-01-25 10:12:22 -0500) ---------------------------------------------------------------- audit/stable-6.9 PR 20240312 ---------------------------------------------------------------- Kunwu Chan (1): audit: use KMEM_CACHE() instead of kmem_cache_create() Li zeming (1): audit: remove unnecessary assignment in audit_dupe_lsm_field() kernel/audit.c | 4 +--- kernel/auditfilter.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) -- paul-moore.com
