From patchwork Mon Jul 22 21:01:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 2831579 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F151CC0319 for ; Mon, 22 Jul 2013 21:01:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0271F202BE for ; Mon, 22 Jul 2013 21:01:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D91CD202B7 for ; Mon, 22 Jul 2013 21:01:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757742Ab3GVVBN (ORCPT ); Mon, 22 Jul 2013 17:01:13 -0400 Received: from mail.skyhub.de ([78.46.96.112]:45722 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757298Ab3GVVBL (ORCPT ); Mon, 22 Jul 2013 17:01:11 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1374526869; bh=02lOFXMc0GkaP2UxLrKSszYVi0+btD+fav/bRr9HVas=; h=From:To:Cc:Subject:Date:Message-Id; b=Q3K/mrxycWvPZ8/hH7zKrMO2ovc XVyc0V/jRZGTC8WM0wzsgruL5/L21ncn1nb+o4WBPvN6AAdpc7qnJAUry8kW2PmH5o+ bll+gGkrHYvxdoI/GpSyzumbHV5MK3P4Wju3dOv+ObHoWMe7NfWi8Fdam+crzYAZ+l/ iKIQeuCX6M= Received: from mail.skyhub.de ([127.0.0.1]) by localhost (door.skyhub.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xun7CYMQv1WB; Mon, 22 Jul 2013 23:01:09 +0200 (CEST) Received: from liondog.tnic (p4FF1DCD3.dip0.t-ipconnect.de [79.241.220.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 599D9245A89; Mon, 22 Jul 2013 23:01:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1374526869; bh=02lOFXMc0GkaP2UxLrKSszYVi0+btD+fav/bRr9HVas=; h=From:To:Cc:Subject:Date:Message-Id; b=Q3K/mrxycWvPZ8/hH7zKrMO2ovc XVyc0V/jRZGTC8WM0wzsgruL5/L21ncn1nb+o4WBPvN6AAdpc7qnJAUry8kW2PmH5o+ bll+gGkrHYvxdoI/GpSyzumbHV5MK3P4Wju3dOv+ObHoWMe7NfWi8Fdam+crzYAZ+l/ iKIQeuCX6M= Received: by liondog.tnic (Postfix, from userid 1000) id CA397102B36; Mon, 22 Jul 2013 23:01:07 +0200 (CEST) From: Borislav Petkov To: LKML Cc: Borislav Petkov , Anton Vorontsov , Colin Cross , Kees Cook , Tony Luck , Len Brown , "Rafael J. Wysocki" , linux-acpi@vger.kernel.org Subject: [PATCH] APEI/ERST: Fix error message formatting Date: Mon, 22 Jul 2013 23:01:06 +0200 Message-Id: <1374526866-6813-1-git-send-email-bp@alien8.de> X-Mailer: git-send-email 1.8.3 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Borislav Petkov [ 5.525861] ERST: Can not request iomem region <0x c7eff000-0x c7f00000> for ERST. This needs to have leading zeroes. Make it so. Signed-off-by: Borislav Petkov Cc: Anton Vorontsov Cc: Colin Cross Cc: Kees Cook Cc: Tony Luck Cc: Len Brown Cc: "Rafael J. Wysocki" Cc: linux-acpi@vger.kernel.org Cc: linux-kernel@vger.kernel.org Acked-by: Kees Cook Acked-by: Naveen N. Rao --- drivers/acpi/apei/erst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/apei/erst.c b/drivers/acpi/apei/erst.c index 88d0b0f9f92b..1126afeb7e22 100644 --- a/drivers/acpi/apei/erst.c +++ b/drivers/acpi/apei/erst.c @@ -1168,7 +1168,7 @@ static int __init erst_init(void) r = request_mem_region(erst_erange.base, erst_erange.size, "APEI ERST"); if (!r) { pr_err(ERST_PFX - "Can not request iomem region <0x%16llx-0x%16llx> for ERST.\n", + "Can not request iomem region <0x%016llx-0x%016llx> for ERST.\n", (unsigned long long)erst_erange.base, (unsigned long long)erst_erange.base + erst_erange.size); rc = -EIO;