diff options
author | 2021-12-14 19:48:54 +0800 | |
---|---|---|
committer | 2021-12-14 17:39:42 -0500 | |
commit | bc6e60a4fc1daef2d95367fea8ee74fc5b62b7d6 (patch) | |
tree | 0cfc61274ea2b8a6b19a8862b59fb1b67935d32b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.16-rc1 (diff) | |
download | wireguard-linux-bc6e60a4fc1daef2d95367fea8ee74fc5b62b7d6.tar.xz wireguard-linux-bc6e60a4fc1daef2d95367fea8ee74fc5b62b7d6.zip |
audit: use struct_size() helper in kmalloc()
Make use of struct_size() helper instead of an open-coded calucation.
Link: https://github.com/KSPP/linux/issues/160
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions