[lkml]   [2018]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] x86/mm: kill stray kernel fault handling comment

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 <>

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 <>
Cc: Jann Horn <>
Cc: Sean Christopherson <>
Cc: Thomas Gleixner <>
Cc: Andy Lutomirski <>
Cc: Ingo Molnar <>
Signed-off-by: Dave Hansen <>

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)
 \ /
  Last update: 2018-10-19 16:14    [W:0.111 / U:26.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site