Re: [RESEND PATCH 4.0-rc5 v19 5/6] x86/nmi: Use common printk functions
From: Daniel Thompson
Date: Wed Apr 08 2015 - 08:08:48 EST
On 07/04/15 17:43, Steven Rostedt wrote:
On Tue, 7 Apr 2015 18:37:46 +0200
Borislav Petkov <bp@xxxxxxxxx> wrote:
I would simply say:
err = printk_nmi_backtrace_prepare();
if (err)
like sane kernel code does.
Yes, that is even the better solution.
Ok. I'll do this.
The constant on the left habit is so ingrained for me I often don't
notice it. I agree with Steven that modern compiler warnings render it
an obsolete habit...
Thanks.
Daniel.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/