Date: Wed, 03 Jun 2026 08:23:31 +0000 From: Christos Margiolis <christos@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: b8d119c96986 - stable/15 - sound: Do not lock before destroying snd_mixer->lock Message-ID: <6a1fe483.39f4b.740d9992@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=b8d119c969861cacd81d83d112c8c1eb8e23c428 commit b8d119c969861cacd81d83d112c8c1eb8e23c428 Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2026-04-16 12:51:56 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2026-06-03 08:23:03 +0000 sound: Do not lock before destroying snd_mixer->lock Sponsored by: The FreeBSD Foundation MFC after: 1 week Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/18 (cherry picked from commit 7485519d56346909c4db595ab0342128353d5b8d) --- sys/dev/sound/pcm/mixer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c index 1baeb1b23077..0001ea7b481a 100644 --- a/sys/dev/sound/pcm/mixer.c +++ b/sys/dev/sound/pcm/mixer.c @@ -650,7 +650,6 @@ mixer_obj_create(device_t dev, kobj_class_t cls, void *devinfo, } if (MIXER_INIT(m)) { - mtx_lock(&m->lock); mtx_destroy(&m->lock); kobj_delete((kobj_t)m, M_DEVBUF); return (NULL);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1fe483.39f4b.740d9992>
