[PATCH -next 0/2] Minor cleanup in PAT

From: Wupeng Ma
Date: Mon Mar 06 2023 - 03:43:49 EST


From: Ma Wupeng <mawupeng1@xxxxxxxxxx>

Patch #1 move follow_phys to memtype.c since only pat use this.
Patch #2 drop the unnecessary WARN_ON_ONCE if follow_phys fails.

Ma Wupeng (2):
x86/mm/pat: Move follow_phys to pat-related file
x86/mm/pat: Drop the unnecessary WARN_ON_ONCE if follow_phys fails

arch/x86/mm/pat/memtype.c | 32 ++++++++++++++++++++++++++------
include/linux/mm.h | 2 --
mm/memory.c | 28 ----------------------------
3 files changed, 26 insertions(+), 36 deletions(-)

--
2.25.1