Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752390AbcCGKyK (ORCPT ); Mon, 7 Mar 2016 05:54:10 -0500 Received: from mail9.hitachi.co.jp ([133.145.228.44]:49614 "EHLO mail9.hitachi.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752133AbcCGKx5 (ORCPT ); Mon, 7 Mar 2016 05:53:57 -0500 From: =?utf-8?B?5rKz5ZCI6Iux5a6PIC8gS0FXQUnvvIxISURFSElSTw==?= To: "'Borislav Petkov'" 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 Thread-Topic: [v3 PATCH 1/3] panic: Change nmi_panic from macro to function Thread-Index: AQHRdTyg7BcvK4MlLUG2rBhSPWgBxJ9HHAUAgAa1AgA= Date: Mon, 7 Mar 2016 10:53:51 +0000 Message-ID: <04EAB7311EE43145B2D3536183D1A84454B18988@GSjpTKYDCembx31.service.hitachi.net> References: <20160303105741.4587.49047.stgit@softrs> <20160303105744.4587.1001.stgit@softrs> <20160303131458.GD24621@pd.tnic> In-Reply-To: <20160303131458.GD24621@pd.tnic> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.198.219.50] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u27AsEYo012753 Content-Length: 1661 Lines: 48 > From: Borislav Petkov [mailto:bp@alien8.de] > 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? I wanted to say encapsulating things into a function makes modules only have to know about the function. Modules don't need to know all things in the macro. But I thought again, and `portability' was not appropriate. However, this patch set has been queued into -mm now. So I'll leave this if not necessary. Regards, Hidehiro Kawai > > 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.