(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

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>


Author Gongwei Li Committer Paul Moore Date Commit Parent 4f7b54e1
+1 -2
1 changed file
+1 -2
1 changed file