From nobody Wed Jun 05 09:29:12 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VvMbs33Jzz5MJcG; Wed, 05 Jun 2024 09:29:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VvMbs15Nxz4Rhs; Wed, 5 Jun 2024 09:29:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717579753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Rqjbrvfa0UzZXS+vCaMENMw65y5bSWIKjDcRzY7wG9I=; b=b/IastnKbpr9afk0gJ10LkcbmXOXTVBMXuMmu3UZVKmPjnrSkAXCL9sHeAeSszTIfrRTAt Yp3/eLgJqsPrlfIAQBG+5QF3w72yBgPxbYaukD/QBk79AP9N93MqwCxny1MRdc2zC1bjDT DFNKA1zFsJvRZZ9huae5mERUeLztPHXzLO/6m6c+ea7398CD1xtVOzsnkQGwKu8c1KVKak +Qzm8ibsTZdXqmHNWt1cQM+Si1dKxzeRMpEox0MrWG3Ghs4aut9KQflogK68YROMhJBG97 tbNbA7jOaqHIXlZdtXFVy8njCd2cwwfy/G39SwH8bPcl8P0JYGhr5Qsrdc9haA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717579753; a=rsa-sha256; cv=none; b=oshXwoDUXCYwE32tWyb6vSOZ/cNVYHI6X70J57lHa9IWEPkcK1btdefEk8qepcazIXQNZk 74DGGSko0rQuZNfbl+5ClJsx4L2p8GIAzN5usWHGdnxBYQJVq9BO+/DaU7BvuH8Jm8f91r hiTUSv7ybFFLbe4ZboZuxdco/0CXe2Q2eKBa1dZ27rsHm89iB8HSl5x1BnydcDuunUJtFw uaclX7R2McCOwXRhRmLbulrsg+G0Qe1khhrBGRn9uS6XQXNkUaNcKXivIURmGsZGCHIPjk uUjkuNIqDgMq4JizKKo+lpCISoLv/kmOgdLuW13vIxJPsUqfq3GHeL4TTsogMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717579753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Rqjbrvfa0UzZXS+vCaMENMw65y5bSWIKjDcRzY7wG9I=; b=PnF0gbRYYw6g60e55Us76sIqK7YJqfCHDTwjUvPBh4lAcMz0OCcw+oesCaWrOTkOeHtNVU N+7b0rdVCJkCLDyPdvshEWj+a/usPAF7vxiH6Ng0BDoaalDiUWQDsi/kRukTdpyvGt6fA8 NmFwSmd6w5iP+4WPBY6G5a+gTS1fuEXNqOTWUSNGpHDg2o66wMIOkZscWa4hTT09TviN0t qAkH+cz0f02qG6yIGmu4Zpg+GnFEvLY/forpwrFY93AWo3sPFaLVZj+0fvBMyU4OYz1QBd SI80/Jgs5EUpygo783xk6Kat/jSMuB4taQmiKAHl97QjxBkCyOCRAozOpsMHzA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VvMbs01Zrzwy5; Wed, 5 Jun 2024 09:29:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4559TCqV027281; Wed, 5 Jun 2024 09:29:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4559TCcA027278; Wed, 5 Jun 2024 09:29:12 GMT (envelope-from git) Date: Wed, 5 Jun 2024 09:29:12 GMT Message-Id: <202406050929.4559TCcA027278@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: a5affc0c4cab - main - stats: Fix the build under gcc List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a5affc0c4cabb59cceca98c4099fc9acc6a05dda Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=a5affc0c4cabb59cceca98c4099fc9acc6a05dda commit a5affc0c4cabb59cceca98c4099fc9acc6a05dda Author: Andrew Turner AuthorDate: 2024-06-04 12:46:33 +0000 Commit: Andrew Turner CommitDate: 2024-06-05 09:23:40 +0000 stats: Fix the build under gcc Reviewed by: brooks, imp Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45302 --- sys/kern/subr_stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/subr_stats.c b/sys/kern/subr_stats.c index 9fb8f8cbd74b..e6e70f8c6e31 100644 --- a/sys/kern/subr_stats.c +++ b/sys/kern/subr_stats.c @@ -295,7 +295,7 @@ static const bool vsd_compoundtype[VSD_NUM_DTYPES] = { const struct voistatdata_numeric numeric_limits[2][VSD_DTYPE_Q_U64 + 1] = { [LIM_MIN] = { - [VSD_DTYPE_VOISTATE] = {0}, + [VSD_DTYPE_VOISTATE] = {}, [VSD_DTYPE_INT_S32] = {.int32 = {.s32 = INT32_MIN}}, [VSD_DTYPE_INT_U32] = {.int32 = {.u32 = 0}}, [VSD_DTYPE_INT_S64] = {.int64 = {.s64 = INT64_MIN}}, @@ -308,7 +308,7 @@ const struct voistatdata_numeric numeric_limits[2][VSD_DTYPE_Q_U64 + 1] = { [VSD_DTYPE_Q_U64] = {.q64 = {.uq64 = 0}}, }, [LIM_MAX] = { - [VSD_DTYPE_VOISTATE] = {0}, + [VSD_DTYPE_VOISTATE] = {}, [VSD_DTYPE_INT_S32] = {.int32 = {.s32 = INT32_MAX}}, [VSD_DTYPE_INT_U32] = {.int32 = {.u32 = UINT32_MAX}}, [VSD_DTYPE_INT_S64] = {.int64 = {.s64 = INT64_MAX}},