From nobody Thu Apr 21 17:30:08 2022 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 9D3601990BB6; Thu, 21 Apr 2022 17:30: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 4Kkl0w6LS7z4WYK; Thu, 21 Apr 2022 17:30:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650562209; 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=4+JdotuXCpIg8kF3O92Kk0jTA2iDgMp6oZ/REvJPB/s=; b=xeDeeyGT4gwwRaT4GrkfW2aOahfqpMrO33H7/rMGbs/zMuXJ7gZw/YMV2WKURK2M9AOj5Q gEqbTKftMFBcsKblVaif4xgoZS933lKgWniX9P14HuY9+2AZ/e8a7wjc8Rdk2aS6Q9K6ge pe0fg2HQlGBo00zY1UMau6fwmH4bJnaxAgodKdEJUsZ+lu1xDyXS1Okl3r/Sn2OPdGDhgK pv9FWeeRlni+QzLItlDYDT8hklQqy9Qe8OvXhu1LGDOksV0ZNYNkp8kx5zonQ/AFaR4BqS lJyN8Gc6qii6veiWwGbF7eL6ExWS3xeYWtH2BEzdR+GSoPCfaHGeY3VwgvHLyw== 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 ACAD74E39; Thu, 21 Apr 2022 17:30:08 +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 23LHU8Q8002763; Thu, 21 Apr 2022 17:30:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23LHU8TB002760; Thu, 21 Apr 2022 17:30:08 GMT (envelope-from git) Date: Thu, 21 Apr 2022 17:30:08 GMT Message-Id: <202204211730.23LHU8TB002760@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 13bebcd35f0a - main - pcm: Initialize pcm_devclass in sound_modevent. 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/main X-Git-Reftype: branch X-Git-Commit: 13bebcd35f0a19c7c96e11fb336c99ead7f1fe92 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650562209; 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=4+JdotuXCpIg8kF3O92Kk0jTA2iDgMp6oZ/REvJPB/s=; b=AFMkcuVDoHpTYSloBKcCnPfIlBhj/EWDy4+7w5QNQc4u2zrKa8SFnshud2q/lhGxNgV9X0 epXYaOOd6489Fpa7GmGKNcFKk/obB+FUXkYQ8xlQiJtXGfSFzqLLDu0b8DDOOwmdYanYW7 D7Ls+hohE7SRcnQacYGqsKS6PPgK3g/KHScH47/gox9RG1EjyJsSoxVbhXxaLXM9YDp6ko KuQ8a4bal1gcpfK6+Uiq1T4mrzDN6SLOo3l79wLbReDCXKZ88IsuqiXmWxq9iJ9h1P8nV6 vXd1zizqC/oRaPWBxVgSLqp8KNP8EptuyURuoF1LS2n4jdbf/Zt2Ma9m2xK1nA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650562209; a=rsa-sha256; cv=none; b=nb0gmJJol4gy17ypPerYKGITaJms7KvTrS42rUusnAEJ0abHZCtpQaZBKyKNL06ggx5sPW ynkR5pW2qqf0SvtNQcp7xkcul0EhsCpQtyZUfL09mwLdvxbibO8W0C8UxsHkSp5LbsvuqW 7dMy6+nq6A6V1bUEMIDp7lZki7knQel+3XJVmaGukZxw+HB87jDNnUjdf3uHE8SrWeqPvF FulS2KbZSBCGj6YqbeMaNohiSKT08VUwewGpEewEJ+Rf20qgXJ7MDqslTcS0+B9q5L7CsO 8Ucw+RXFk+O5yUdWxmrKo3l2aN/mtjn+hoQDtPOcMkx0BNB6YJa0+/4zUfNkrw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=13bebcd35f0a19c7c96e11fb336c99ead7f1fe92 commit 13bebcd35f0a19c7c96e11fb336c99ead7f1fe92 Author: John Baldwin AuthorDate: 2022-04-21 17:29:14 +0000 Commit: John Baldwin CommitDate: 2022-04-21 17:29:14 +0000 pcm: Initialize pcm_devclass in sound_modevent. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D34998 --- sys/dev/sound/pcm/sound.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c index b94ed8e943bb..ffb6db66a179 100644 --- a/sys/dev/sound/pcm/sound.c +++ b/sys/dev/sound/pcm/sound.c @@ -1429,6 +1429,7 @@ 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: