Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2026 15:33:36 +0000
From:      Christos Margiolis <christos@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7485519d5634 - main - sound: Do not lock before destroying snd_mixer->lock
Message-ID:  <6a170ed0.2713f.63ec4fd@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=7485519d56346909c4db595ab0342128353d5b8d

commit 7485519d56346909c4db595ab0342128353d5b8d
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-04-16 12:51:56 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-05-27 15:32:12 +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
---
 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?6a170ed0.2713f.63ec4fd>