From nobody Wed May 03 00:29:34 2023 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 4Q9yWL2fsvz48Nb3; Wed, 3 May 2023 00:29:34 +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 4Q9yWL28fFz3m2F; Wed, 3 May 2023 00:29:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683073774; 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=6iLftERr7CUwieWxMB0AZ3wusDMtKmlqRaJwg0jqaUQ=; b=ShoCovvthUhcv1VpO1hZVmCFNHzwDGF8E9LmKyIOEYBg3TQxh0vGX7eV5HtXgc9XiRc/Kk QmtyujPJqIBRDVrpuLcXw4O9ip82KPPGdX1os3O4VUqlRB35PthLTw23iUI0H4h9YILATc Ey02/t6en5sAM5fWuW2f3Agi6lBbsjpy+LKdKjfBSLmgdXjIP+/tAnBDZaiJoizCWivJDj F99hrO42IqyLZZTWL2TdAgTVOgshKNFIb47D/xMOmzmtG3MUChniOlZAD6t6Q7oaQwTgSi UnCTKHAA94r3LwGN4IhRGYEmmpH2sbha3A0ktEVLbcuGr5QA6xR6cFfVY2y30Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683073774; 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=6iLftERr7CUwieWxMB0AZ3wusDMtKmlqRaJwg0jqaUQ=; b=W6dco3qEO800PEwnCJyAfx9KjojESifJFVf91igrHQY7zLrhktg99A3pfgPUIZfIC5Krip spYBG8JvMOQXFsw3Ib5S5wggeRfJj7t1AAOAttXuHvz+fmeyZA4dg9u1rcDmWiwWpc3f9E 7QYINjC+srMj6LNRlk57bgeVRPbBt9XNAOHsSmVx27WRgIOG+YFNqdwMEwgySEg/4kNiav yZPRK7VidAp+Mr/nz53oLaUkr58XpeD9lwlLFRV/9EqaeX7vS1Ij/7HT/B4FQKtzzWXoer p5gTMlRThKcm+5y7qMHNMZMw/FlYnZ6tQ5X0n4ugcw7WdqNf6qeX/GNIqoBjFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683073774; a=rsa-sha256; cv=none; b=L1UtMEQ8eG7Ca24Eldc/xBJmKBSOvXssNP8vD/4rSbsjxivwHMcggP1+fYgmzETiRnQPPo me6uYM4fwSJtsyOlczHd03Z0yh222oI31jMZ/RZ2kWUmoGIe69CNgAHif45RTmK3MEGx+9 a01urRdxuVXpaJmGPxseaMc4rWR3++Re1+Uaed5GQtDRzi4EoMcYNejDSDY+zlzBYGdOHb zAIH02hUKIWpHSZCO1hQtIrN9sgWeQ7wCVmzMfgvP5UVU42IzrgF9TIHXZ5/yw5f0dHy7z 2jWW1P+yPyu+hxXyCJOGExMNopa7xTJvhNBPDqq5dcsq54sX1ejTiujN+y6Kbg== 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 4Q9yWL1Dr9z18J8; Wed, 3 May 2023 00:29:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3430TYCZ071894; Wed, 3 May 2023 00:29:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3430TYJb071893; Wed, 3 May 2023 00:29:34 GMT (envelope-from git) Date: Wed, 3 May 2023 00:29:34 GMT Message-Id: <202305030029.3430TYJb071893@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: c2c7a43fb5cf - stable/13 - rpcgen: Unindent a line not guarded by if (mtflag). 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: c2c7a43fb5cf6f1711a94ef9e928defe6075503a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c2c7a43fb5cf6f1711a94ef9e928defe6075503a commit c2c7a43fb5cf6f1711a94ef9e928defe6075503a Author: John Baldwin AuthorDate: 2022-12-05 00:32:03 +0000 Commit: John Baldwin CommitDate: 2023-05-03 00:03:19 +0000 rpcgen: Unindent a line not guarded by if (mtflag). mtflag is used to add pthread mutex locking around operations to make them thread-safe. Setting the state to _SERVED is not conditional on locking. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D37541 (cherry picked from commit 4fa1e855be60f2c95005edb295fdc36cc163ff6b) --- usr.bin/rpcgen/rpc_svcout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/rpcgen/rpc_svcout.c b/usr.bin/rpcgen/rpc_svcout.c index 3c6d0824f11a..06951940ff4e 100644 --- a/usr.bin/rpcgen/rpc_svcout.c +++ b/usr.bin/rpcgen/rpc_svcout.c @@ -619,7 +619,7 @@ print_return(const char *space) if (timerflag) { if (mtflag) f_print(fout, "%spthread_mutex_lock(&_svcstate_lock);\n", space); - f_print(fout, "%s_rpcsvcstate = _SERVED;\n", space); + f_print(fout, "%s_rpcsvcstate = _SERVED;\n", space); if (mtflag) f_print(fout, "%spthread_mutex_unlock(&_svcstate_lock);\n", space); }