From nobody Fri May 17 19:31:09 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 4Vgxs94Nbhz5LgNd; Fri, 17 May 2024 19:31:09 +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 4Vgxs91y2Dz4vgl; Fri, 17 May 2024 19:31:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715974269; 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=EjNQWQ0VDddtgeJ94qv34NqQSWKIE7YgoxRjqoSmNj0=; b=wm9amEbh7VFgPUK7IhZpaiNq2J0fkxPDLjvOYzfVqtgjVXwOLslzz1v31ToiVHThwx/e+n J7JbJKxWAIT4SI4XdPYx/FWnoRA2jjoCFy2W+kxtDoNGa2K6lUxPOG2uAx6iBiwNqT8jZe cIvSzoSuNw0cvvHUw6Ivq/kt7lqWRc0Cn0iEtHMGfk2WsqqRvtEeH0GJmrtmPftUkGgCyt D+5bGhJhPtiT3AksMaDnQtqqhrzxUKHvEgqrZTJ5mPcIwuaSkrLn0qG9NM37AmswmMeKtK ouS0xO1YZCsIw56ZGG/cK8eS3Mcd804k7sxOwAvEPJ3LFG90MjGCYWDWmXUFAA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715974269; a=rsa-sha256; cv=none; b=QTEVNi+dfvh6uA3cPrU2gLaMOBS4whcWFn9IvKUZGgU4PfdRzYk94g07TEsZb69wbkin86 RQlL9QSkM4YaZEYlr8BJr/HvZYnagkE2pxDqMZ/O8PuD9D4DFD+xRHlWghp4beXPtO5fEt 3Pvqe/qWKloiYh4IYWXIDk2FdzAoSsUWydyX2VL9eHTcH1smLxnDNmmwfhHpE+/Pk17BIg iWP5ZJ33aLvUTrc0IuhDyglQL6ewJV5cCouXrWo+JsAp8hB8INyXVJRg7qTYwqPhG46J2N WgD//yEvdcC0RmpM7FlqsDwiCmCWi04KG3F3Cnxq+wmgMScTv3zIP5uxoFUKFQ== 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=1715974269; 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=EjNQWQ0VDddtgeJ94qv34NqQSWKIE7YgoxRjqoSmNj0=; b=GgqoEtDiNFwmK/njLqKSEujhjGwJgZGrvXLHc6DkK6gbmDbW9HQtcKFgHKDFKM3CS3gsUg G+rdFXFQ9dpPb6lywfVKscqdGqpn6oNTAyI3ME/XO+yaP34y7yLkAcKy1KnF+bhXw1spnC ighPPsVC7WJ/H7LZjYM+AAmEnckmkjsrhLwI66XHyf+H6tK3gbzu2sOLtapNlC3ruhz8d6 1Yj1WpBaXSTU/QxsGHf1Nny2ZTNeIuWYEuCa5J0ADxD8rZeusD2DUmI+BIfiYhtQQVEoVO 8HbDUuljrFZQhQze7YzqAQdDEYv2B7hvjvR5IML9PYTq6+FCB13reALCu4y9zw== 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 4Vgxs91YWVzvvr; Fri, 17 May 2024 19:31:09 +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 44HJV9Rq099946; Fri, 17 May 2024 19:31:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44HJV9Kh099943; Fri, 17 May 2024 19:31:09 GMT (envelope-from git) Date: Fri, 17 May 2024 19:31:09 GMT Message-Id: <202405171931.44HJV9Kh099943@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Christos Margiolis Subject: git: 99e372420df4 - stable/14 - sound: Rename pcm_getparentchannel() to vchan_getparentchannel() 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: christos X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 99e372420df4a8f1905b43c0f905de4a56795037 Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=99e372420df4a8f1905b43c0f905de4a56795037 commit 99e372420df4a8f1905b43c0f905de4a56795037 Author: Christos Margiolis AuthorDate: 2024-05-06 18:32:57 +0000 Commit: Christos Margiolis CommitDate: 2024-05-17 19:30:35 +0000 sound: Rename pcm_getparentchannel() to vchan_getparentchannel() Follow the rest of the vchan.c naming convention. No functional change intended. Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D45016 (cherry picked from commit 77ab4263bc42a5dcc102bbea39ce4f7f46b8d4f8) --- sys/dev/sound/pcm/vchan.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/dev/sound/pcm/vchan.c b/sys/dev/sound/pcm/vchan.c index 9df23298b742..904ce6661675 100644 --- a/sys/dev/sound/pcm/vchan.c +++ b/sys/dev/sound/pcm/vchan.c @@ -251,7 +251,7 @@ static kobj_method_t vchan_methods[] = { CHANNEL_DECLARE(vchan); static void -pcm_getparentchannel(struct snddev_info *d, +vchan_getparentchannel(struct snddev_info *d, struct pcm_channel **wrch, struct pcm_channel **rdch) { struct pcm_channel **ch, *wch, *rch, *c; @@ -380,9 +380,9 @@ sysctl_dev_pcm_vchanmode(SYSCTL_HANDLER_ARGS) PCM_UNLOCK(d); if (direction == PCMDIR_PLAY) - pcm_getparentchannel(d, &c, NULL); + vchan_getparentchannel(d, &c, NULL); else - pcm_getparentchannel(d, NULL, &c); + vchan_getparentchannel(d, NULL, &c); if (c == NULL) { PCM_RELEASE_QUICK(d); @@ -482,9 +482,9 @@ sysctl_dev_pcm_vchanrate(SYSCTL_HANDLER_ARGS) PCM_UNLOCK(d); if (direction == PCMDIR_PLAY) - pcm_getparentchannel(d, &c, NULL); + vchan_getparentchannel(d, &c, NULL); else - pcm_getparentchannel(d, NULL, &c); + vchan_getparentchannel(d, NULL, &c); if (c == NULL) { PCM_RELEASE_QUICK(d); @@ -591,9 +591,9 @@ sysctl_dev_pcm_vchanformat(SYSCTL_HANDLER_ARGS) PCM_UNLOCK(d); if (direction == PCMDIR_PLAY) - pcm_getparentchannel(d, &c, NULL); + vchan_getparentchannel(d, &c, NULL); else - pcm_getparentchannel(d, NULL, &c); + vchan_getparentchannel(d, NULL, &c); if (c == NULL) { PCM_RELEASE_QUICK(d);