On 07/04/15 17:43, Steven Rostedt wrote:
On Tue, 7 Apr 2015 18:37:46 +0200 Borislav Petkov bp@alien8.de 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.