From nobody Mon Jul 22 00:55:33 2024 X-Original-To: dev-commits-src-all@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 4WS1zT6ntYz5QwTG; Mon, 22 Jul 2024 00:55:33 +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 4WS1zT6FKtz4j16; Mon, 22 Jul 2024 00:55:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721609733; 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=2VEXFRgOQ+hKKMSY16R4k5gJRyu7lr5IPOE5SrAi8WE=; b=Q/Fc9IjuOMvtYZrf0wtCGPVsQGIptpm/xjCtmXQFGhzK/by2A8t9T2eMsmZVYDt44qA3oM 16Qtkl7xJsvvGXIGJaP6Y6Nr+jXs1SQa/CafMg3NESEAiuYWoMbnzufcCthwKKHk4EdHmL C6WKgEXvLjaKOccnIkMNh4OmPmRph9TAQPKmxaNiX3Bg21us03Y76QhCvSGyEQhOE/93+M g0Y1eax0ZF8z0a/o1LdUSxgvjK29sPgJu22Ulun31xPzk4z5o+U5WiIYewX0CycbQlZ9Cu IFr9s6PHn7WMq67ygneNfLvQEP9DaCneK7JF4OVq4+f0FWUBkrzDZu+zyQ9LFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721609733; a=rsa-sha256; cv=none; b=gZn+yblWGhTUmx5jDbuxZ2DJLTnDHXrcXH83SpEZcq5VhYYE2DEqpR2Hao3UigGNWlrccN 4S31Wda+dZ3+inyKyeqluAqIccrTz8FF0gAGg/6cOiMG6lFFTTieHkfLzFIZ283GWK32hB s0lyJYCaY7pNCf5srXp9nQtpHSJiNGP9PRn6ialoMy4PYPtAV3Z7FpKAbSxgwHWRJA6NRH Bo0Fi/DH6PHKMq6zhXsbvUuPCEW9ZaB7L0+PEf4+FsmrUQfh+erKSV7eAtfQGBAi57yH79 2y3rXdbcTgd/vaLCyBgVnp1y3Dvs0AEoRk3QrMQnQ2xe09uYyPaVL650zZ/iSQ== 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=1721609733; 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=2VEXFRgOQ+hKKMSY16R4k5gJRyu7lr5IPOE5SrAi8WE=; b=CrJSC9PCDbc0iik7fihGSsZAM/wKJZBpBvDAzthR4/aQ+lY55Ey9T9S5y1cF2BeXcazfrd kldgt4SuyhOjvYrJ6cpKyDh/Ox1hje0H3+rwztjvZOh+VW3GuJTwJOYyUQ/oVgHCII+Fjp GlkFI3JCkB7H1bpPXQZlXYB1inEHYbmYIBM+yOfnq1UMCPBN4tjIsBifdzdfsEp28z4ix6 De4Kde3Xrt4Be3skMaH0/rxIKdWoDESgndZ1K5iLp2Mymin3FzlKxpgkF8Q66eGwOM8ul5 WHadPR7QGB7BLhNaA8QKvBabHtsVnrzhZZ0+8PDpLFxk9XuLU+Sz3RUpHCbyiQ== 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 4WS1zT5rxnzNb6; Mon, 22 Jul 2024 00:55:33 +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 46M0tXNo007153; Mon, 22 Jul 2024 00:55:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46M0tXj3007150; Mon, 22 Jul 2024 00:55:33 GMT (envelope-from git) Date: Mon, 22 Jul 2024 00:55:33 GMT Message-Id: <202407220055.46M0tXj3007150@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: dc1f4c3d9aab - stable/14 - libdtrace: Use designated initializers for modules ops tables List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: dc1f4c3d9aab6524b06630e2168a1ca6525674bf Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=dc1f4c3d9aab6524b06630e2168a1ca6525674bf commit dc1f4c3d9aab6524b06630e2168a1ca6525674bf Author: Mark Johnston AuthorDate: 2024-07-10 21:17:38 +0000 Commit: Mark Johnston CommitDate: 2024-07-22 00:55:27 +0000 libdtrace: Use designated initializers for modules ops tables No functional change intended. MFC after: 1 week Sponsored by: Innovate UK (cherry picked from commit f6372351da07ae101d5a22a2bb2bdb2753da2b40) --- .../contrib/opensolaris/lib/libdtrace/common/dt_module.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c index 281c787de533..6fb9b0f84769 100644 --- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c +++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c @@ -452,17 +452,17 @@ dt_module_symaddr64(dt_module_t *dmp, GElf_Addr addr, } static const dt_modops_t dt_modops_32 = { - dt_module_syminit32, - dt_module_symsort32, - dt_module_symname32, - dt_module_symaddr32 + .do_syminit = dt_module_syminit32, + .do_symsort = dt_module_symsort32, + .do_symname = dt_module_symname32, + .do_symaddr = dt_module_symaddr32 }; static const dt_modops_t dt_modops_64 = { - dt_module_syminit64, - dt_module_symsort64, - dt_module_symname64, - dt_module_symaddr64 + .do_syminit = dt_module_syminit64, + .do_symsort = dt_module_symsort64, + .do_symname = dt_module_symname64, + .do_symaddr = dt_module_symaddr64 }; dt_module_t *