[PATCH] x86/mm: kill stray kernel fault handling comment

From: Dave Hansen
Date: Fri Oct 19 2018 - 10:13:52 EST



I originally tried to send this a couple days ago, but does not
appear to have made it to LKML. Sorry if it's a duplicate.

--

From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>

I originally had matching user and kernel comments, but the kernel
one got improved. Some errant conflict resolution kicked the commment
somewhere wrong. Kill it.

Fixes: aa37c51b94 ("x86/mm: Break out user address space handling")
Reported-by: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
Cc: x86@xxxxxxxxxx
Cc: Jann Horn <jannh@xxxxxxxxxx>
Cc: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Andy Lutomirski <luto@xxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
---

b/arch/x86/mm/fault.c | 1 -
1 file changed, 1 deletion(-)

diff -puN arch/x86/mm/fault.c~x86-mm-kill-stray-kernel-fault-handling-comment arch/x86/mm/fault.c
--- a/arch/x86/mm/fault.c~x86-mm-kill-stray-kernel-fault-handling-comment 2018-10-19 07:06:22.954631596 -0700
+++ b/arch/x86/mm/fault.c 2018-10-19 07:06:22.959631596 -0700
@@ -963,7 +963,6 @@ bad_area_access_error(struct pt_regs *re
__bad_area(regs, error_code, address, vma, SEGV_ACCERR);
}

-/* Handle faults in the kernel portion of the address space */
static void
do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address,
u32 *pkey, unsigned int fault)
_