diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-07-26 22:29:14 +0800 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-07-29 18:07:19 -0700 |
commit | d00365175e092a3144ecbee3181f46682b5b5e97 (patch) | |
tree | f2eed167af10e842514b01e2fd3eabf40afbd6cb /lib/mpi/mpi-add.c | |
parent | bb077c3ffd5362a6d9e60574e1bcc83fe8e3fb27 (diff) |
hugetlbfs: use helper macro SZ_1{K,M}
Patch series "A few cleanup and fixup patches for hugetlbfs", v2.
This series contains a few cleaup patches to remove unneeded forward
declaration, use helper macro and so on. More details can be found in the
respective changelogs.
This patch (of 5):
Use helper macro SZ_1K and SZ_1M to do the size conversion. Minor
readability improvement.
Link: https://lkml.kernel.org/r/20220726142918.51693-1-linmiaohe@huawei.com
Link: https://lkml.kernel.org/r/20220726142918.51693-2-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions