Files
linux/kernel
Gongwei Li 77563f3d47 audit: Use kzalloc() instead of kmalloc()/memset() in audit_krule_to_data()
Replace kmalloc+memset by kzalloc for better readability and simplicity.

This addresses the warning below:
WARNING: kzalloc should be used for data, instead of kmalloc/memset

Signed-off-by: Gongwei Li <ligongwei@kylinos.cn>
[PM: subject and description tweaks]
Signed-off-by: Paul Moore <paul@paul-moore.com>
2025-11-07 16:38:34 -05:00
..
2025-09-25 09:23:54 +02:00
2025-09-25 09:23:54 +02:00