commit | 5fe375728983b3fca6b958434a2e3f547bbbb2aa | [log] [tgz] |
---|---|---|
author | Xiu Jianfeng <xiujianfeng@huawei.com> | Thu Dec 02 15:35:33 2021 +0800 |
committer | Paul Moore <paul@paul-moore.com> | Sun Dec 05 21:58:32 2021 -0500 |
tree | c42049f41c07ecb134db22c7640d8bc4853c54c9 | |
parent | 6326948f940dc3f77066d5cdc44ba6afe67830c0 [diff] |
selinux: Use struct_size() helper in kmalloc() Make use of struct_size() helper instead of an open-coded calculation. Link: https://github.com/KSPP/linux/issues/160 Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>