From nobody Sun Oct 20 11:21:34 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 4XWbcG4chLz5YvRJ; Sun, 20 Oct 2024 11:21: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XWbcG1XPjz4Wqj; Sun, 20 Oct 2024 11:21:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729423294; 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=Uzrmdk3KSb4szpy7c9sqpGpF93yDN01QdzKNE9CCuyQ=; b=l1LRySdneiM/sQ59xWAOS+56lnON5onYM9Qj1WtA5demrjNJM+y4o17TV40AR/8H37vEyg SicFK+0zArprkzWcSDAoxg466XLE8G7e3jBiXLrn0+W/8ZX29jFtBLgZCgw9rcvGtxrsVt DNjALIcKOOhuTJKok8rmCSUM7HqBH+DH3N1dLcGYC2PD0dIexm92lZGSc7aHZKHngncw5Z kDSrF0URfZQMI0mvQCij/mQJDaIHRpTbNxWJnIhab5jYM+Uhf1GwvOr6oddaHIGQGmRNb/ 53qfXIM0CrnrfGBbctKmddqmQGHQ6JiArX+jaRdpYY5+eJJMo5ky10EyTtcpjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729423294; 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=Uzrmdk3KSb4szpy7c9sqpGpF93yDN01QdzKNE9CCuyQ=; b=SR0hR8ksnxiGbMpSrDTt039GktGXFWHNXgFno2tORfocxjyaItyn+MUJC76ILeUV/NSI/m bQA0UqB3wVGPoKL+JXfiJ8P09dTLG/66ihXrs6xS4Ouw4akLbbalD/i7jCOfVR57Ui+oXV Db1tIR73wL2WwdJ58KD2qM1GUMOBqXR5vmxF/xzzNs7AJkau1m2iPDogQ+xFxWvBlwjEXn ZB0WiqOSKy1TO3zAGeFMsmkpjMhcRxnuOB/2bYz8Ntx0fVRgAPH+WtjaNwSLg+80In1mAm HzutOrwRtZjjmF+MBJPZcwjYLuhKVhsDKP8DRRkVOtFpfEWAXmCH66f3PkQJ+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729423294; a=rsa-sha256; cv=none; b=BvLqEMBSLHHtQRNAeEgvAi24kLmOnSOgJ2KQgtY9JijSSb0hobCHNrsXaJrnjv/V3dLc2I 2KerSQYwbfQC1yYqk/0mxDEr+IacqyXIE5kcVQdMY36UWi1q89Yj2qKbbYn48iAYU4TY7w hAFU6jEdIk9J0ZpTgSvHUMoW8PqJC72y3/94r4e/ZX2wv6F9qdk5vKMl9104zLjXH1Ea7S QPjb2nRh4+kYUplfF61+KyXRGUthK/hp3wAQ1yW2g9kcwAPnvUefT5X9/P9SnOWozvIu/3 GA01tawjgO/3yv1UAm+WB5eAO5jr9KXfMEXokoYbYH+cqdnNmB7IPJPhqdVS8Q== 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 4XWbcG171Fz108L; Sun, 20 Oct 2024 11:21:34 +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 49KBLYaq062673; Sun, 20 Oct 2024 11:21:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49KBLYxE062670; Sun, 20 Oct 2024 11:21:34 GMT (envelope-from git) Date: Sun, 20 Oct 2024 11:21:34 GMT Message-Id: <202410201121.49KBLYxE062670@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: 1b0acff71fe8 - stable/14 - sound: Fix indendation in sound_modevent() switch statement 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: christos X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 1b0acff71fe8dbaf62afc32b51d8eaa2fa39862d Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=1b0acff71fe8dbaf62afc32b51d8eaa2fa39862d commit 1b0acff71fe8dbaf62afc32b51d8eaa2fa39862d Author: Christos Margiolis AuthorDate: 2024-10-18 08:39:15 +0000 Commit: Christos Margiolis CommitDate: 2024-10-20 11:21:04 +0000 sound: Fix indendation in sound_modevent() switch statement Sponsored by: The FreeBSD Foundation MFC after: 2 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D46856 (cherry picked from commit 41ff4177614562923a30e2541e2a15883a4ce32c) --- sys/dev/sound/pcm/sound.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c index f9c87facfeec..330c99de14d1 100644 --- a/sys/dev/sound/pcm/sound.c +++ b/sys/dev/sound/pcm/sound.c @@ -836,20 +836,20 @@ sound_modevent(module_t mod, int type, void *data) ret = 0; switch (type) { - case MOD_LOAD: - pcm_devclass = devclass_create("pcm"); - pcmsg_unrhdr = new_unrhdr(1, INT_MAX, NULL); - break; - case MOD_UNLOAD: - if (pcmsg_unrhdr != NULL) { - delete_unrhdr(pcmsg_unrhdr); - pcmsg_unrhdr = NULL; - } - break; - case MOD_SHUTDOWN: - break; - default: - ret = ENOTSUP; + case MOD_LOAD: + pcm_devclass = devclass_create("pcm"); + pcmsg_unrhdr = new_unrhdr(1, INT_MAX, NULL); + break; + case MOD_UNLOAD: + if (pcmsg_unrhdr != NULL) { + delete_unrhdr(pcmsg_unrhdr); + pcmsg_unrhdr = NULL; + } + break; + case MOD_SHUTDOWN: + break; + default: + ret = ENOTSUP; } return ret;