Message ID | 20190221062851.21958-5-andrew@aj.id.au |
---|---|
State | Accepted |
Headers | show
Return-Path: <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 444l3k621Sz9s8m for <incoming@patchwork.ozlabs.org>; Thu, 21 Feb 2019 17:31:14 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=aj.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="C8GwfZvk"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="eFCdEKTz"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 444l3k4xfQzDqN8 for <incoming@patchwork.ozlabs.org>; Thu, 21 Feb 2019 17:31:14 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=aj.id.au (client-ip=66.111.4.26; helo=out2-smtp.messagingengine.com; envelope-from=andrew@aj.id.au; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=aj.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="C8GwfZvk"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="eFCdEKTz"; dkim-atps=neutral Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 444l1T3X7hzDqMH for <skiboot@lists.ozlabs.org>; Thu, 21 Feb 2019 17:29:17 +1100 (AEDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 437E6221E7; Thu, 21 Feb 2019 01:29:15 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 21 Feb 2019 01:29:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm2; bh= kJRzA6GQl5sUNJX55GCvImDG+yF7sC9qmrmreS1nXU0=; b=C8GwfZvk4XYmGBEz cqpIy68xljNb3akDNo+sG3wnYif7PVBfEm+5qIeA+BHMAOjiPAXz2kNrabJE6Bkw fo0JIJtBp5h5X/ipgqUnL+T4iyASde+d1pqAt9SSK2PvgJaZnExxyNGiqaa88x9g kWeU0TzH+Bh4yvY7FSWzoMM24Xy406/9N+x1m4L8Rkyxb524Pdwo8dVYPVJm9T3A 3ws+qf0wpPcHsur8kItUbh0QQoK7dk7xuqpEVZVFYAnZG4y1FNWsa7gPw/g9wqpo Zu5chylXovFBxpxcbwPknc6R+tNz13zCJcFuz29ul1TfPMlii/61AVeEe1e+pnRp 0OYP7A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=kJRzA6GQl5sUNJX55GCvImDG+yF7sC9qmrmreS1nX U0=; b=eFCdEKTz05TD94L2XBrrtqdx22w1XIno9EIAoe5/mWSURgIh4Mx5SNgnU Kk3hCY6mYIh5RwIA8fW7aJ4equknx/m2MfjVNuSSh1zhdVH2OoaNn3ohfOtymtpm prcY2rwYTWZxq+CvW4lBFwIFzf7H/AvqHfRprFJ7Pf1SSnnZ5YZwHUnelzbM4QXo 8TDOOB+RTFvQEBjD5WfNgdzKp8wCvZ3caHsSucBbeOf/ImP6M3yglYUTjZr7qtoj C6ZeF+1StYEUFEqUOjmVO8MYII28H6aEYFYTuWJC8+sJodE1d0FshPIrfuDlzfEH Z9TwVoqqClIgtDSVdJPlH4xYn5kQg== X-ME-Sender: <xms:O0VuXCEhmwyy8cddDcImnDLqsGeF1IoJqAzXBanrHiqJ--_g10x6jA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrtdejgdeljeculddtuddrgedtledrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhggtgfgsehtke ertdertdejnecuhfhrohhmpeetnhgurhgvficulfgvfhhfvghrhicuoegrnhgurhgvfies rghjrdhiugdrrghuqeenucfkphepvddtvddrkedurddukedrvdeknecurfgrrhgrmhepmh grihhlfhhrohhmpegrnhgurhgvfiesrghjrdhiugdrrghunecuvehluhhsthgvrhfuihii vgeptd X-ME-Proxy: <xmx:O0VuXOxybrAO0-uu-fnWMxocQstEb5bVU4VeJSoBXoXlgdZoy1ibNA> <xmx:O0VuXPuLb8Qc7jPEA5WJCRh0T8SBOPvpwfU385vMNsAMevOo7XdAwQ> <xmx:O0VuXFE7rWOMjesdwsKYkkjLJuoLzVuz-Bpeu3pvN-_dChVeyixxYw> <xmx:O0VuXEYHfnYxu9jmXzj0dxcbv2fGkSn0cifc_sinr5qajYQA0HCAnA> Received: from mistburn.bha-au.ibmmobiledemo.com (unknown [202.81.18.28]) by mail.messagingengine.com (Postfix) with ESMTPA id 72224E419A; Thu, 21 Feb 2019 01:29:13 -0500 (EST) From: Andrew Jeffery <andrew@aj.id.au> To: skiboot@lists.ozlabs.org Date: Thu, 21 Feb 2019 16:58:03 +1030 Message-Id: <20190221062851.21958-5-andrew@aj.id.au> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190221062851.21958-1-andrew@aj.id.au> References: <20190221062851.21958-1-andrew@aj.id.au> MIME-Version: 1.0 Subject: [Skiboot] [PATCH v2 04/52] gard: Fix warnings from gcc 8.2.0 X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development <skiboot.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/skiboot/> List-Post: <mailto:skiboot@lists.ozlabs.org> List-Help: <mailto:skiboot-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=subscribe> Cc: Andrew Jeffery <andrew@aj.id.au> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
ipmi-hiomap: Tests and fixes for event handling
|
expand
|
diff --git a/external/gard/gard.c b/external/gard/gard.c index c686791e858c..16da76a3149a 100644 --- a/external/gard/gard.c +++ b/external/gard/gard.c @@ -282,7 +282,7 @@ static char *format_path(struct entity_path *path, char *buffer) * path_element[2] = {2, 1} * } */ -int parse_path(const char *str, struct entity_path *parsed) +static int parse_path(const char *str, struct entity_path *parsed) { int unit_count = 0; @@ -456,7 +456,8 @@ static void draw_ruler(char c, int size) putchar('\n'); } -static int do_list(struct gard_ctx *ctx, int argc, char **argv) +static int do_list(struct gard_ctx *ctx, int argc __attribute__((unused)), + char **argv __attribute__((unused))) { /* This header matches the line formatting above in do_list_i() */ const char *header = " ID | Error | Type | Path";
gard.c:285:5: error: no previous prototype for ‘parse_path’ [-Werror=missing-prototypes] int parse_path(const char *str, struct entity_path *parsed) ^~~~~~~~~~ gard.c: In function ‘do_list’: gard.c:459:46: error: unused parameter ‘argc’ [-Werror=unused-parameter] static int do_list(struct gard_ctx *ctx, int argc, char **argv) ~~~~^~~~ gard.c:459:59: error: unused parameter ‘argv’ [-Werror=unused-parameter] static int do_list(struct gard_ctx *ctx, int argc, char **argv) ~~~~~~~^~~~ Signed-off-by: Andrew Jeffery <andrew@aj.id.au> --- external/gard/gard.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)