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

From: Andy Lutomirski
Date: Mon Feb 01 2021 - 20:02:59 EST


On Mon, Feb 1, 2021 at 1:14 AM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> 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..

It's not that long, and Linus seems to think you should make your
terminal wider :)

--Andy