Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756298AbcCCNPJ (ORCPT ); Thu, 3 Mar 2016 08:15:09 -0500 Received: from mail.skyhub.de ([78.46.96.112]:54048 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751082AbcCCNPG (ORCPT ); Thu, 3 Mar 2016 08:15:06 -0500 Date: Thu, 3 Mar 2016 14:14:58 +0100 From: Borislav Petkov To: Hidehiro Kawai Cc: Andrew Morton , Thomas Mingarelli , Wim Van Sebroeck , Corey Minyard , Javi Merino , Michal Hocko , linux-watchdog@vger.kernel.org, "Steven Rostedt (Red Hat)" , Rasmus Villemoes , linux-kernel@vger.kernel.org, Michal Nazarewicz , Michal Hocko , Vitaly Kuznetsov , HATAYAMA Daisuke , Gobinda Charan Maji , Tejun Heo , Nicolas Iooss , openipmi-developer@lists.sourceforge.net, Thomas Gleixner , Guenter Roeck Subject: Re: [v3 PATCH 1/3] panic: Change nmi_panic from macro to function Message-ID: <20160303131458.GD24621@pd.tnic> References: <20160303105741.4587.49047.stgit@softrs> <20160303105744.4587.1001.stgit@softrs> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160303105744.4587.1001.stgit@softrs> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1211 Lines: 36 On Thu, Mar 03, 2016 at 07:57:44PM +0900, Hidehiro Kawai wrote: > Change nmi_panic() macro to a normal function for the portability. portability? > Also, export it for modules. > > Changes since v2: > - Make nmi_panic receive a single string instead of printf style args > > Signed-off-by: Hidehiro Kawai > Cc: Andrew Morton > Cc: Borislav Petkov > Cc: Michal Nazarewicz > Cc: Michal Hocko > Cc: Rasmus Villemoes > Cc: Nicolas Iooss > Cc: Javi Merino > Cc: Gobinda Charan Maji > Cc: "Steven Rostedt (Red Hat)" > Cc: Thomas Gleixner > Cc: Vitaly Kuznetsov > Cc: HATAYAMA Daisuke > Cc: Tejun Heo > --- > include/linux/kernel.h | 21 +-------------------- > kernel/panic.c | 20 ++++++++++++++++++++ > 2 files changed, 21 insertions(+), 20 deletions(-) Acked-by: Borislav Petkov -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.