mm/page_ext: use page_ext_data helper in page_table_check
authorKemeng Shi <shikemeng@huaweicloud.com>
Tue, 18 Jul 2023 14:58:11 +0000 (22:58 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:37:27 +0000 (13:37 -0700)
commitd981e2804c92b505e76f44e66909f3ae805d3aa2
tree2eda867cdabbc8df85af0acba036f3ee11994603
parentc0a5d93a885b42c22085ad0f39233795f4a578e0
mm/page_ext: use page_ext_data helper in page_table_check

Use page_ext_data helper in page_table_check to avoid access offset
directly.

Link: https://lkml.kernel.org/r/20230718145812.1991717-3-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Andrew Morton <akpm@linux-foudation.org>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_table_check.c