mm: kfence: use PAGE_ALIGNED helper
authorKefeng Wang <wangkefeng.wang@huawei.com>
Fri, 20 May 2022 02:18:33 +0000 (10:18 +0800)
committerakpm <akpm@linux-foundation.org>
Wed, 25 May 2022 17:47:49 +0000 (10:47 -0700)
commitf403f22f8ccb12860b2b62fec3173c6ccd45938b
treeaf18c24633a5684be6353977f56963135717eed7
parent0598739900071feff82b89f1515f963a6889b330
mm: kfence: use PAGE_ALIGNED helper

Use PAGE_ALIGNED macro instead of IS_ALIGNED and passing PAGE_SIZE.

Link: https://lkml.kernel.org/r/20220520021833.121405-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Muchun Song <songmuchun@bytedance.com>
Cc: Marco Elver <elver@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kfence/kfence_test.c