Re: [PATCH 6/5] x86/fault: Clean up the page fault oops decoder a bit

From: Andy Lutomirski
Date: Wed Dec 05 2018 - 10:54:19 EST





> + err_str_append(error_code, err_txt, X86_PF_INSTR, "[INSTR]", NULL);
> + err_str_append(error_code, err_txt, X86_PF_PK, "[PK]" , NULL);
> + err_str_append(error_code, err_txt, X86_PF_WRITE | X86_PF_INSTR, NULL,
> + "[READ]");

Ah, I see the issue. OTOH, printing [READ] [INSTR] wouldnât be so bad, either.