diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-07-19 12:04:14 +0300 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-07-30 04:07:17 +0300 |
commit | 360b420dbded8ad5b70a41de98e77354dd9e7d36 (patch) | |
tree | a63af95238bb55204b9093ac8024e6a2f2b505b9 /mm/hugetlb_cgroup.c | |
parent | 198729c9627a754b26aebdc8a26e559424c8f06c (diff) | |
download | linux-360b420dbded8ad5b70a41de98e77354dd9e7d36.tar.xz |
selftest/vm: uninitialized variable in main()
Initialize "length" to zero by default.
Link: https://lkml.kernel.org/r/YtZzjvHXVXMXxpXO@kili
Fixes: ff712a627f72 ("selftests/vm: cleanup hugetlb file after mremap test")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb_cgroup.c')
0 files changed, 0 insertions, 0 deletions