Message ID | 20190215065708.6086-4-andrew@aj.id.au |
---|---|
State | Changes Requested |
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 4413yP44FQz9s4Z for <incoming@patchwork.ozlabs.org>; Fri, 15 Feb 2019 17:58:53 +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="VSU2MIjr"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="SPrsSPF+"; 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 4413yP2DbHzDqTf for <incoming@patchwork.ozlabs.org>; Fri, 15 Feb 2019 17:58:53 +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="VSU2MIjr"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="SPrsSPF+"; 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 4413ww4BL3zDqTL for <skiboot@lists.ozlabs.org>; Fri, 15 Feb 2019 17:57:36 +1100 (AEDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 5DD85226C0; Fri, 15 Feb 2019 01:57:34 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 15 Feb 2019 01:57:34 -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=VSU2MIjrAWtfAoeZ 9O9UkljusY41hihvm8/sb55WhTYfGcMxfvan4qberUYiTtUeTeKkR+nTJT2wRifi 2PIDhFbmDu+YjJS4MyvJ1Jr7u5HNAtxOS24mc1GsOBXz/7j/6Uqy/NGT1oU4Torn flI1KmgzX8418V0ya9omMssx3vflRXHGcQqx+QUTzLzheU8iBk1oPcxQidOxXn4F KogPhO24sa2g+vbb24bRvbEsEC+oj8aB6P9ay/cv1qa8CqJD/YQyxxmvK/3HpKY9 ZPAkiQXmhvVXI6Q8cSh1OTCmF9eQpP/t0Qv1otF7BZZnwWe9ZfA/gm3CDlFHOi9F pJi/bg== 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=SPrsSPF+NZRfBYmucbQ2iCQ+DrTSouEM+qlAol5iHNm4UNFCdGCiOppUk 7ItpeoQytISDdYBysF0W/NbMaf21mVDYzkNqzyUMmGf7PAxifhmI/XUd7HQwC84V M40KqXFSTDLRQfq9hivCJHIzN9gcDDU1MQqtLcQAVo9nUPevVhvo8dSV3ICeVjtT l7yuQTHkJRcH38wyuUtGDRnE+3lvpXARtE/itotuCE9TnBB+apLvbpcYWYEv1YXy C6cLKbDZ/pSrZ4KAfWLn2cdn8YdP+Pd+XUCyYSgCr27DnXq7elfPVdBW4eAx8i9F hM9c3CTd/WzeV3442B+z4PWPqmYKw== X-ME-Sender: <xms:3mJmXKRr0z86Aqfm_LPEkZ-YvhVEC6-ONxjLor-9s5Pi3QjNHTA0Ag> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledruddtiedgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecunecujfgurhephffvufffkffojghfgggtgfesthekredtredtjeenucfhrhhomh eptehnughrvgifucflvghffhgvrhihuceorghnughrvgifsegrjhdrihgurdgruheqnecu kfhppedugedrvddrkeelrdejheenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvg ifsegrjhdrihgurdgruhenucevlhhushhtvghrufhiiigvpedu X-ME-Proxy: <xmx:3mJmXILFLv1xQQoZy86Qqrl5VdpRPa7A_xkbbEk-bkoH4fizPf-D3A> <xmx:3mJmXKA8-cwknYlYXcRRQVxXyWtO79iBEHJUnygTQZLyYJT1Hb8u2A> <xmx:3mJmXN3BdMdezQ40OuULve3bD2uVTHf57DvYAAM2WXyZ--nhy4ZbNw> <xmx:3mJmXPbpYYU_ZBTVyFcyXJ8EPQWt-Z7kXk4k5ihPcnI1_dpCXu2YvQ> Received: from localhost.localdomain (unknown [14.2.89.75]) by mail.messagingengine.com (Postfix) with ESMTPA id D8B3FE4210; Fri, 15 Feb 2019 01:57:31 -0500 (EST) From: Andrew Jeffery <andrew@aj.id.au> To: skiboot@lists.ozlabs.org Date: Fri, 15 Feb 2019 17:26:20 +1030 Message-Id: <20190215065708.6086-4-andrew@aj.id.au> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190215065708.6086-1-andrew@aj.id.au> References: <20190215065708.6086-1-andrew@aj.id.au> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 03/51] 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(-)