Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756751Ab3G2Oku (ORCPT ); Mon, 29 Jul 2013 10:40:50 -0400 Received: from mail.skyhub.de ([78.46.96.112]:35791 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753765Ab3G2Okt (ORCPT ); Mon, 29 Jul 2013 10:40:49 -0400 Date: Mon, 29 Jul 2013 16:40:46 +0200 From: Borislav Petkov To: Bjorn Helgaas Cc: "Naveen N. Rao" , Joe Perches , LKML , Borislav Petkov , Anton Vorontsov , Colin Cross , Kees Cook , Tony Luck , Len Brown , "Rafael J. Wysocki" , "linux-acpi@vger.kernel.org" , "Huang, Ying" Subject: Re: [PATCH] APEI/ERST: Fix error message formatting Message-ID: <20130729144046.GE6634@pd.tnic> References: <1374526866-6813-1-git-send-email-bp@alien8.de> <20130724171347.GB29756@naverao1-tp.watson.ibm.com> <1374686598.18818.18.camel@joe-AO722> <51F10AA8.2050901@linux.vnet.ibm.com> <20130729135812.GD6634@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1142 Lines: 29 On Mon, Jul 29, 2013 at 08:28:05AM -0600, Bjorn Helgaas wrote: > > @@ -186,7 +186,7 @@ static int erst_exec_stall(struct apei_exec_context *ctx, > > > > if (ctx->value > FIRMWARE_MAX_STALL) { > > if (!in_nmi()) > > - pr_warning(FW_WARN ERST_PFX > > + pr_warn(FW_WARN > > "Too long stall time for stall instruction: %llx.\n", > > You didn't change this part, but this and similar messages look less > useful than they could be. We're printing in hex, but there's no > indication in the output (no "0x" prefix). And there's no instruction > pointer or anything to help connect this back to the source of the > problem. Sounds like we don't want to print ctx->value at all but simply signal about the stall? Or? -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- 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/