From nobody Mon Jul 15 12:38:30 2024 X-Original-To: dev-commits-src-branches@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 4WN1vq0PBtz5QrsM; Mon, 15 Jul 2024 12:38:31 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WN1vp56lMz4Hj3; Mon, 15 Jul 2024 12:38:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721047110; 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=07qMHOXLX1wCKO1sWiW2LlO4eGNvBX8ucnL+uR6M148=; b=O+/8t2MI1SVnAQlfCt/wizeCu8whMulo2M39sL6e/Amm3Ckl3d06eWTGBufZzdWWwkZZaj 6bpn2hfiaj1xB07QWXfNLQDgJOIziFs4peIULM+19Ebc71DJ7j0EG9GXQdRtG5m1VU8/TH 2bl29zY1siayU6Mj0yqGggymnAFV0WBQjyR5EhJ++345sPPo7ILLCBYJn2TykR71R4E8aD //tqL6yiOu56ccojNCd5SOa3sLbTNZ4PEvvtDSUwrCXRfurhVR/nVF1kTNvvvVFD7BQDHU X0+0rpGeOuhBImPv3l0Hk+PrPg2fv3w4IqyM2jiY87E8klaHbbboXvshKU1/Yw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721047110; a=rsa-sha256; cv=none; b=L7WDILyTp5/J7mTRsAizLWZjpZlK++zPh2raI41IIuIXW0zVE3g91E9reqHU58Lm0Ey6jC pmXLVCVxigN3hURb+gekNewzDmeIV47s1mMEf/sDG2i8piQ5c6QenresaE/KRvxDDEMmZ/ MHiKXuBmAHDlww6N5sacuX+pbIne5jQ8ITS8qsaohcjH7uBZE63gI1H0gRz2BITPumCOVM BjXhKPAJklvywoUfsY4wgOVVIh+eHZVAOLdm1d092/OUuTyE7W4u6gxR6r8pUUanNgNQsG nC+H8QhJ0F5tVyBtliTnEDzQloeRab0QGkjHlY0kJQWxfMbtY/7MALSYZrZTTg== 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=1721047110; 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=07qMHOXLX1wCKO1sWiW2LlO4eGNvBX8ucnL+uR6M148=; b=i0sOUkKJFXci+u0pn751FMMjtoBC1mp1YTZc8RfkH5Gzyi+GUgfQ1nZd5yAzoCvrTbpwN+ H77Eq9DOYEPhE8hWRGTo15yeb+sg/B0sZqmGUvEZS2pfr46uEdi4in6DbM7kvFBiJ5BTAg oL5Lb/xAXaKAoVFbWmm1cw9KNFJunedXHhFdAv/7+Kl8nWK00IbsGb5Eqq3BQoNe2dLOBh D+d0TAmympCAYl9+EXpelOo3iqmjaS1g4kw0t5r9yyd8KZBCmAb+VIaauCNLz+Yhw3Gv47 AKL2xr/qgjQtoEITtf4KiCxrKPJnnUrrBDUWFEpsf5eBoltk5SN08DwoY+NyCw== 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 4WN1vp4lQCzt5p; Mon, 15 Jul 2024 12:38:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46FCcUqp061692; Mon, 15 Jul 2024 12:38:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46FCcUhw061689; Mon, 15 Jul 2024 12:38:30 GMT (envelope-from git) Date: Mon, 15 Jul 2024 12:38:30 GMT Message-Id: <202407151238.46FCcUhw061689@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andrew Turner Subject: git: 8971fe25a80b - stable/14 - stats: Fix the build under gcc List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/14 X-Git-Reftype: branch X-Git-Commit: 8971fe25a80b8cdb5547beb48c72d923ade5875c Auto-Submitted: auto-generated The branch stable/14 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=8971fe25a80b8cdb5547beb48c72d923ade5875c commit 8971fe25a80b8cdb5547beb48c72d923ade5875c Author: Andrew Turner AuthorDate: 2024-06-04 12:46:33 +0000 Commit: Andrew Turner CommitDate: 2024-07-15 12:28:28 +0000 stats: Fix the build under gcc Reviewed by: brooks, imp Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45302 (cherry picked from commit a5affc0c4cabb59cceca98c4099fc9acc6a05dda) --- 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 6a9dff2b9126..6d04b9ae1588 100644 --- a/sys/kern/subr_stats.c +++ b/sys/kern/subr_stats.c @@ -296,7 +296,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}}, @@ -309,7 +309,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}},