]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06b23b532b0549f96acefa0d4c5809606eca1b6c
treeaf18c24633a5684be6353977f56963135717eed7
parentff5b025007c138ca115c6aafb1d5575e4a708ada
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