From nobody Fri Jul 28 01:26:26 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 4RBqjG5F6Vz4pTlM; Fri, 28 Jul 2023 01:26:26 +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 4RBqjG4pylz3rQH; Fri, 28 Jul 2023 01:26:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690507586; 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=/7EbIHfDscbl6oxtlWWmgLNQqFQ/cPXRd7SWZBGdxo4=; b=g+SDNcmLydbB4ehtof+Uv3zM4v53jedNxCNtXpDX9JkU/yGTqe+B7Md7XJYyOGSrloWuhA IRF/CEvWOFYsusoTBcY2k+doX9ts7Hln0HAVZmveiMJ/fWSns9FeCgCSRB0gaezeGF7sWc IHXgZBO8ecHS1Q+sE1YfrZzcvt0PiF9+MsalqcS3sIxLCYQO+vxTkZIAHxeztb8FTLMZWS v6XBSBEa8M+hUF7272QcQEjC/c9wmZTzSpSeVqzyXKxX6u2JFiU+ZQkSja2G47ZFrY8Veq fm+2WupfU5ue0YTRXMc1vnHwa24r8KG4bwH0nhBfIGGw7uuLsXXhO5zAxY+5wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690507586; 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=/7EbIHfDscbl6oxtlWWmgLNQqFQ/cPXRd7SWZBGdxo4=; b=alXtJdfeSJ0k3W9zIbKToRer+JAXpHkylUETdNTfVFdcqsP8VRG4aTq7fWr/1S3u3+M+mG A5y+vydzgDWOAMaBSHNzOR1xB1JCSzf3q455KPVfTQbGFbaRkMP4GU0WMi1bGM4Llg0fz4 aW4AYUyBuKNQKMCU+eCtsy2Q1GSvn0YcnI0eCm/xMv8KI3a3WMs1ap3LwzGSUcnhvdQEbD S9SRKO2pTRnAsicU4OyIHGtnAa6errFjY01oPPxpSIA8E1ZqmAvnBibFxIr3yeNdxk0Z9n a8L1yC0bUOk+7dENlnEwtREb3dUtwXsvspLm5/N/aGBftLNi2u43gjJJkzFXNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690507586; a=rsa-sha256; cv=none; b=W/vHgGRMgRZYQLTqBZen3Lr6o2KJmg8AzHyevGSdvnx4Jjhz+3cYNg7awBL7QqHabCicjC mx3v3GdvXLhybFDa3KDLDU6mTIZEm738IWnZJOcwhHccLfVa62II/9ucxV5S71on+v0c2r YivHRgab7pHfphidKk+xOtZOroYNUjsAfPPMULJkGoWulVXGgA6erqFn31j0uLUfryMc24 Rr165WPDQUE9RfgzO2jLvvG6BjX7m3388CCKDrBhSLrEr8b5B0q7+6HWa8puL1NoeI1G0q rWXhnNITW6FUdEfSwsiod5Hpl6X/oUysYW1wwgv+ZqB11Hy99DmNXRHfCxIIdw== 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 4RBqjG3txVzXW3; Fri, 28 Jul 2023 01:26:26 +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 36S1QQv0000541; Fri, 28 Jul 2023 01:26:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36S1QQJD000540; Fri, 28 Jul 2023 01:26:26 GMT (envelope-from git) Date: Fri, 28 Jul 2023 01:26:26 GMT Message-Id: <202307280126.36S1QQJD000540@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: e3e7512e715c - stable/13 - thr_mutex.c: style 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e3e7512e715c8ff13e1f19008ac9443c1b578db2 Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=e3e7512e715c8ff13e1f19008ac9443c1b578db2 commit e3e7512e715c8ff13e1f19008ac9443c1b578db2 Author: Konstantin Belousov AuthorDate: 2023-07-22 17:59:26 +0000 Commit: Konstantin Belousov CommitDate: 2023-07-28 01:14:01 +0000 thr_mutex.c: style (cherry picked from commit 0a5c29a6ee0a4c2732977d6d832e7193dbddaf26) --- lib/libthr/thread/thr_mutex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c index 40e0b7382f95..8d64d26c12ab 100644 --- a/lib/libthr/thread/thr_mutex.c +++ b/lib/libthr/thread/thr_mutex.c @@ -291,8 +291,8 @@ mutex_init(pthread_mutex_t *mutex, if (error != 0) return (error); } - if ((pmutex = (pthread_mutex_t) - calloc_cb(1, sizeof(struct pthread_mutex))) == NULL) + if ((pmutex = (pthread_mutex_t)calloc_cb(1, + sizeof(struct pthread_mutex))) == NULL) return (ENOMEM); mutex_init_body(pmutex, attr); *mutex = pmutex;