2024-03-12 21:07:46

by Paul Moore

[permalink] [raw]
Subject: [GIT PULL] audit/audit-pr-20240312

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


2024-03-12 22:33:10

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] audit/audit-pr-20240312

The pull request you sent on Tue, 12 Mar 2024 17:07:33 -0400:

> https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git tags/audit-pr-20240312

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3749bda230478a8716a812f4d069c2f29dd246c4

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html