Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6EC4EC64ED6 for ; Mon, 27 Feb 2023 22:09:34 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CBD2885AB9; Mon, 27 Feb 2023 23:08:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="MB21ea0d"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A118A85AB1; Mon, 27 Feb 2023 23:08:47 +0100 (CET) Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5B78C8546E for ; Mon, 27 Feb 2023 23:08:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82c.google.com with SMTP id w23so8467744qtn.6 for ; Mon, 27 Feb 2023 14:08:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1677535722; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=H2TmdE6NJdyyojKgYyymlJrc5aQld3CFR/P6IrVQcJg=; b=MB21ea0dKpctcbj8arfwEVK9h3xAxmKc+tQK2VW82TPgpqsG7D5n/ekWCWnno6NmTc StZLeYRa9gLglM36SPbvGCQGxMxDNE48dR7FLiCV93bBU1+dXhuhV0Iuqx7OmOWgsDMe zcTGB3i0BbpL2ZjVAV0dLCtKW2Q1IAvWyzFKg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677535722; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=H2TmdE6NJdyyojKgYyymlJrc5aQld3CFR/P6IrVQcJg=; b=N1FK54sZgA6dGjAuYoSjDzvF52/UcM0XcjnkDiE+P4JbA5hLDHCjufBt0MViVUyE3m QJA51hcBZR1DAgFJ2wnls5IzsJWZQ5o9OoEZ5I5p69U/5cle7eZH2y3JNCRip5TLJRVY sApaKwCUIfcIEEZah/urkIi8j4p0NroSQXe8+O7oq89o9Nre105X1h6Ie4bobECeh3og s5kXtFZh2rG2LyQne8DJv6VyX7V3x1NTmUi4zOUtl+HYVMdaWo/hHaEOheDcSO3dOIbG tIyJ7rVTrkShqwu8sqp1S610Ga4Xeekdlib9aaKwb1oQ3C5O5pC2VqmIIbZ+DzfNFLmZ 8vfg== X-Gm-Message-State: AO0yUKVsTuzr052VYuI2Sa8tNJJBs23j6mhXlTsceUw+OHTDxXkY2hGn HTVUkmVpTzmsh1D8cYuJXYcMf9F6XwQI70Y0ZBg= X-Google-Smtp-Source: AK7set/er0nR1oxfqnbIy5M3M3zECeJBYGeWSSDHuCK1HzCHoyBAA8KoLGF0LY+D0becx01iMJuUTQ== X-Received: by 2002:a05:622a:189a:b0:3b9:bc8c:c210 with SMTP id v26-20020a05622a189a00b003b9bc8cc210mr18342485qtc.27.1677535722056; Mon, 27 Feb 2023 14:08:42 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-0000-0000-0000-036b.res6.spectrum.com. [2603:6081:7b00:6400::36b]) by smtp.gmail.com with ESMTPSA id x2-20020ac86b42000000b003b635a5d56csm5375454qts.30.2023.02.27.14.08.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 14:08:41 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Igor Opaniuk Subject: [PATCH 3/7] libavb: Fix a warning with clang-15 Date: Mon, 27 Feb 2023 17:08:35 -0500 Message-Id: <20230227220839.2519733-3-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230227220839.2519733-1-trini@konsulko.com> References: <20230227220839.2519733-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean With clang-15 we now will get warnings such as: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] And it is easy enough to address this warning here, as we aren't concerned with re-syncing with an upstream. Signed-off-by: Tom Rini --- Cc: Igor Opaniuk --- lib/libavb/avb_cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libavb/avb_cmdline.c b/lib/libavb/avb_cmdline.c index cb54e658c487..a58ce6c48c01 100644 --- a/lib/libavb/avb_cmdline.c +++ b/lib/libavb/avb_cmdline.c @@ -394,7 +394,7 @@ out: return ret; } -AvbCmdlineSubstList* avb_new_cmdline_subst_list() { +AvbCmdlineSubstList* avb_new_cmdline_subst_list(void) { return (AvbCmdlineSubstList*)avb_calloc(sizeof(AvbCmdlineSubstList)); } -- 2.34.1