mbox series

[GIT,PULL] audit/audit-pr-20240312

Message ID a51f65333f170f8079c72d98c16137d9@paul-moore.com (mailing list archive)
State Accepted
Delegated to: Paul Moore
Headers show
Series [GIT,PULL] audit/audit-pr-20240312 | expand

Pull-request

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

Message

Paul Moore March 12, 2024, 9:07 p.m. UTC
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

Comments

pr-tracker-bot@kernel.org March 12, 2024, 10:24 p.m. UTC | #1
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!