Re: [PATCH 09/11] x86/fault: Rename no_context() to kernelmode_fixup_or_oops()

From: Christoph Hellwig
Date: Mon Feb 01 2021 - 04:16:29 EST


On Sun, Jan 31, 2021 at 09:24:40AM -0800, Andy Lutomirski wrote:
> + kernelmode_fixup_or_oops(regs, error_code, address, pkey, si_code);

> if (!user_mode(regs)) {
> - no_context(regs, error_code, address, SIGBUS, BUS_ADRERR);
> + kernelmode_fixup_or_oops(regs, error_code, address, SIGBUS, BUS_ADRERR);

These overly long lines are a little annoying..