mm: kmsan: use helper macros PAGE_ALIGN and PAGE_ALIGN_DOWN
authorZhangPeng <zhangpeng362@huawei.com>
Thu, 27 Jul 2023 01:16:12 +0000 (09:16 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:37:29 +0000 (13:37 -0700)
commit108c3dc6cd3dbe36824469b7ea860337978e0439
tree27253364177e99341a1a9b83e82723ab429ab2dd
parent4852a80524937db8215406cf2b2431b14f320000
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>
mm/kmsan/shadow.c