Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp259677ybj; Fri, 8 May 2020 11:07:44 -0700 (PDT) X-Google-Smtp-Source: APiQypLKrfugfGA2V4ZvpqU7npAw+X4l9VtcE3D9EI2FSPSVeR5E5y3kkvCA0sTGtG5ngU9yAi3E X-Received: by 2002:a17:906:391:: with SMTP id b17mr2923711eja.91.1588961264458; Fri, 08 May 2020 11:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588961264; cv=none; d=google.com; s=arc-20160816; b=SJruQNkMtPuscoBj9O/C0OFCwurWYq/5y0LFcuHn/4UPqdLxMpD1TiobcwKCbDF45A 1SlTutkVqnuongKxVqT+dk/n+xtC0ocyWGcIeVLXzlfBFX5wBIjSuvEBVgvXUTKjfw+X B9sIDRoEdd+/JeaOCWXW37X5gdEk/0Jrd0oRHZbhHWWbvPKtN8BeuqrpIE4ekDGb9J6T +BrYnsBeebf+VJqDbxIceSzhuXD+JJK0Jr0snF1jbCVWJ382xWMECunftx4bUrgcdFF7 bEse7P6V8cq1sf/Xv0pYxdFcBPrfvotRo7YyjdLMQMXQPu0V/S+TyqRq1iqOTeLOo0bh eIYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=lqLep6qqbWbkap7Av72Vutrp9nTSawcvK0u1d3smy6I=; b=kAHGHCfAoNymXzPfyp29lyofkQ4anJ1Nx+iQwkGr9QCajp5Drnz9kHP4DROAcIafGY U6EnndHuK2hd+AAfB2jLCwL0bJCfggwF7O8phkWhUocOpQ3aCnUrXocWzLZZJoDYsKKw 41nPfNdHbZm9rhwEQWbTUyvtR/D8vniQAJAL2v3Tw4V+CuuIvwr4OpJvAZ5v2jr+Ks6k VHzOmIQyiqMFqnUAvg954KsYGFTlfI1L22qrA46U4dyuqvJ1fGip0fcHvLag28VxrATS JPN0W/GOUCyGWOo4Lvo+Ss/0CBey21qP+up1f1FPWQcZLxNK1axfDrotcLaD7z5+OefD 9hVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NW8I9yrk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p9si1413247ejf.493.2020.05.08.11.07.20; Fri, 08 May 2020 11:07:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NW8I9yrk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727915AbgEHSCi (ORCPT + 99 others); Fri, 8 May 2020 14:02:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:48062 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726873AbgEHSCf (ORCPT ); Fri, 8 May 2020 14:02:35 -0400 Received: from e123331-lin.nice.arm.com (amontpellier-657-1-18-247.w109-210.abo.wanadoo.fr [109.210.65.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0B07D24956; Fri, 8 May 2020 18:02:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588960955; bh=qZE5oO9tju445FImkD+DKILGWfHrF6QF4ZLT8Y5GGew=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NW8I9yrkG9EvgNwvgfjPPNcyarFFwwWu5RFXZZVVdQGFNnXHBQYz8zpFS7f30BHCd vz8gh6lcQq7hJhRFSE9KNJ9EYonB1xvxF5p6lXn8Tgj2s6l1MICQfcKlNsxtUL3OeR u7naWWpZVwOaNobhHJtGwvgJeVFImM3i7aEli+po= From: Ard Biesheuvel To: linux-efi@vger.kernel.org, Ingo Molnar , Thomas Gleixner Cc: Ard Biesheuvel , linux-kernel@vger.kernel.org, Arnd Bergmann , Arvind Sankar , Guenter Roeck , Joe Perches Subject: [PATCH 06/15] efi/tpm: Use efi_err for error messages Date: Fri, 8 May 2020 20:01:48 +0200 Message-Id: <20200508180157.1816-7-ardb@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200508180157.1816-1-ardb@kernel.org> References: <20200508180157.1816-1-ardb@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arvind Sankar Use efi_err instead of bare efi_printk for error messages. Signed-off-by: Arvind Sankar Link: https://lore.kernel.org/r/20200430182843.2510180-7-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel --- drivers/firmware/efi/libstub/tpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/efi/libstub/tpm.c b/drivers/firmware/efi/libstub/tpm.c index 1d59e103a2e3..09adcf51b75b 100644 --- a/drivers/firmware/efi/libstub/tpm.c +++ b/drivers/firmware/efi/libstub/tpm.c @@ -119,7 +119,7 @@ void efi_retrieve_tpm2_eventlog(void) sizeof(*log_tbl) + log_size, (void **)&log_tbl); if (status != EFI_SUCCESS) { - efi_printk("Unable to allocate memory for event log\n"); + efi_err("Unable to allocate memory for event log\n"); return; } -- 2.17.1