diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2023-09-29 19:30:18 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-18 14:43:22 -0700 |
commit | 860a2e7fa4a186a78be904879f752858c96328ed (patch) | |
tree | a24ebecf52765b36fba8e6d60d8fde36144b23a1 /tools/testing/selftests/proc/proc-empty-vm.c | |
parent | 867046cc7027703f60a46339ffde91a1970f2901 (diff) |
proc: use initializer for clearing some buffers
Save LOC by using dark magic of initialisation instead of memset().
Those buffer aren't passed to userspace directly so padding is not
an issue.
Link: https://lkml.kernel.org/r/3821d3a2-6e10-4629-b0d5-9519d828ab72@p183
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/proc/proc-empty-vm.c')
0 files changed, 0 insertions, 0 deletions