Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754092AbbDHMIl (ORCPT ); Wed, 8 Apr 2015 08:08:41 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:33142 "EHLO mail-wg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752438AbbDHMIf (ORCPT ); Wed, 8 Apr 2015 08:08:35 -0400 Message-ID: <55251A40.5030105@linaro.org> Date: Wed, 08 Apr 2015 13:08:32 +0100 From: Daniel Thompson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Steven Rostedt , Borislav Petkov CC: Thomas Gleixner , Jason Cooper , Russell King , Will Deacon , Catalin Marinas , Marc Zyngier , Stephen Boyd , John Stultz , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patches@linaro.org, linaro-kernel@lists.linaro.org, Sumit Semwal , Dirk Behme , Daniel Drake , Dmitry Pervushin , Tim Sander , "H. Peter Anvin" , x86@kernel.org Subject: Re: [RESEND PATCH 4.0-rc5 v19 5/6] x86/nmi: Use common printk functions References: <1427216014-5324-1-git-send-email-daniel.thompson@linaro.org> <1428421083-9137-1-git-send-email-daniel.thompson@linaro.org> <1428421083-9137-6-git-send-email-daniel.thompson@linaro.org> <20150407121942.627d2165@gandalf.local.home> <20150407163746.GA14115@pd.tnic> <20150407124307.58c7dd20@gandalf.local.home> In-Reply-To: <20150407124307.58c7dd20@gandalf.local.home> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 730 Lines: 32 On 07/04/15 17:43, Steven Rostedt wrote: > On Tue, 7 Apr 2015 18:37:46 +0200 > Borislav Petkov 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/