diff options
author | 2023-07-27 09:16:12 +0800 | |
---|---|---|
committer | 2023-08-21 13:37:29 -0700 | |
commit | 108c3dc6cd3dbe36824469b7ea860337978e0439 (patch) | |
tree | 27253364177e99341a1a9b83e82723ab429ab2dd /mm/compaction.c | |
parent | mm: kmsan: use helper macro offset_in_page() (diff) | |
download | wireguard-linux-108c3dc6cd3dbe36824469b7ea860337978e0439.tar.xz wireguard-linux-108c3dc6cd3dbe36824469b7ea860337978e0439.zip |
mm: kmsan: use helper macros PAGE_ALIGN and PAGE_ALIGN_DOWN
Use helper macros PAGE_ALIGN and PAGE_ALIGN_DOWN to improve code
readability. No functional modification involved.
Link: https://lkml.kernel.org/r/20230727011612.2721843-4-zhangpeng362@huawei.com
Signed-off-by: ZhangPeng <zhangpeng362@huawei.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Marco Elver <elver@google.com>
Cc: Nanyong Sun <sunnanyong@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions