Message ID | 20170924195716.3433-16-xypron.glpk@gmx.de |
---|---|
State | Superseded, archived |
Delegated to: | Alexander Graf |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3y0dXB4rgdz9t3k for <incoming@patchwork.ozlabs.org>; Mon, 25 Sep 2017 06:06:34 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 64BE4C2214F; Sun, 24 Sep 2017 20:02:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 9E32BC22160; Sun, 24 Sep 2017 19:58:57 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 13FA0C2210A; Sun, 24 Sep 2017 19:58:17 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lists.denx.de (Postfix) with ESMTPS id 3C230C220AE for <u-boot@lists.denx.de>; Sun, 24 Sep 2017 19:58:14 +0000 (UTC) Received: from workstation4.fritz.box ([84.118.154.110]) by mail.gmx.com (mrgmx102 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MgHHO-1dkjvP46kw-00NeJk; Sun, 24 Sep 2017 21:57:34 +0200 From: Heinrich Schuchardt <xypron.glpk@gmx.de> To: Alexander Graf <agraf@suse.de> Date: Sun, 24 Sep 2017 21:57:14 +0200 Message-Id: <20170924195716.3433-16-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170924195716.3433-1-xypron.glpk@gmx.de> References: <20170924195716.3433-1-xypron.glpk@gmx.de> X-Provags-ID: V03:K0:iIFFviBb+z3lOKqKXtdsdllwSj+wDJIVbwBhifRQg53iESuHxjN 3MPIZvO6qwPMV/9hPgSerkLlNUz6WNTcXH6qnUNFR9AG45T0y2eXaQDx6VdQuQarx4tWnEl IcvSozBcVFwPUrJubizioZh4gyYYP+RYPeiKitrHO5mZTfA/f12VlwKuH+0GyMXmThTa2id P2YjearHGS23czWVklk6Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:X+07ig6L3pM=:lXjDmseWKixwcWOT4IqyPn 1hjRZ2kdKEC9c1/fjwhHh6zwGU57oesw15f1tVWPDebJWjpL085g2A69f1Vlcus/W5RW2yB9u ILHFArFLyNtKUjDS65cpH9KYejdB4vwkKPiFsQ/TyS0uwU7mX5QJRq+5ng2dtOztxMMqk61lZ zNo1hnpGg/37m1SoJIeaoReLYmYdjUf1AKV2E1w6rdSqnBevyUulxilgMDesK9e3+ayQpLZS6 EE1iS86DtbP6OkTG7PSazQkoAUvNTO8cykwWEt0w1l6Kj4vi9ezGFWiIvlAeDgYPdvMTcd9PA VazQYLMN5GwiJk8JsV7yTSYVYMUPICzK/ae7kJcxUbmiJoGCkuhUneV1BfvYY1tQwRFEQ29wD I24TL97Rv8Zj2A590We6gBZ9Stup9ybpSVjBOy+ChmF+QfRrZbZ7WauD1FLx93B390V8rUGWO B54ktDHZPAiIbwfT/tO4m3ojlXL1aq/6myQdoA6yfsdAfo/iQ7o+EuxdD3QQAM5IalwVzXzN9 uwJCmWU3Lyuk5Ebrr6Pc48cIE1XylMzASIZ76mGFtS668uggenktVTfiwcKGNeTI9jyOD77Im 5DLf8SsHtfbj7lgrnTGSre2EKegSwbe3wzcPIZQ/v3MU+VHgcdGtgzBaz8mUPSAuv4Nu2LeMc B+xesYkfCqPoIGE5FXCBDI2UNkPWE+cXupWe/7xEA9dHoqXWSLPY55BqtMl24UmaONZKvLGg0 Kwbv7zzg3pHoGi1GMjLzygi13Rm/u7JkanWBvNX5at0wCsSGBCVj41OPHphvhcqNXLj/oN7BV bPyPqdCLbS1FSpZ4qW0bkBN1CheCw== Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>, u-boot@lists.denx.de Subject: [U-Boot] [PATCH 15/17] efi_selftest: correct definition of efi_st_error X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
efi_loader: Simple Network Protocol
|
expand
|
diff --git a/include/efi_selftest.h b/include/efi_selftest.h index 76304a2b2a..7273a0f49a 100644 --- a/include/efi_selftest.h +++ b/include/efi_selftest.h @@ -20,8 +20,8 @@ * @... format string followed by fields to print */ #define efi_st_error(...) \ - efi_st_printf("%s(%u):\nERROR: ", __FILE__, __LINE__); \ - efi_st_printf(__VA_ARGS__) \ + (efi_st_printf("%s(%u):\nERROR: ", __FILE__, __LINE__), \ + efi_st_printf(__VA_ARGS__)) \ /* * A test may be setup and executed at boottime,
Enclose definition in parantheses to allow using efi_st_error like a void function. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> --- include/efi_selftest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)