Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2024 01:10:16 GMT
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: 578a8fb50c39 - stable/14 - sound: Fix SND_DIAGNOSTIC ifdef comment
Message-ID:  <202404120110.43C1AGif041345@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=578a8fb50c3968b2efdcf7f45acc554ae339e2f6

commit 578a8fb50c3968b2efdcf7f45acc554ae339e2f6
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2024-03-29 15:32:13 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2024-04-12 01:09:51 +0000

    sound: Fix SND_DIAGNOSTIC ifdef comment
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      2 weeks
    Reviewed by:    markj
    Differential Revision:  https://reviews.freebsd.org/D44555
    
    (cherry picked from commit c136e6180e4762c1180d89cd2291fd9a935a721d)
---
 sys/dev/sound/pcm/sound.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h
index 4af56a2c411a..0a8144e97c24 100644
--- a/sys/dev/sound/pcm/sound.h
+++ b/sys/dev/sound/pcm/sound.h
@@ -519,7 +519,7 @@ int	sound_oss_card_info(oss_card_info *);
 		mtx_unlock(&Giant);					\
 	}								\
 } while (0)
-#else /* SND_DIAGNOSTIC */
+#else /* !SND_DIAGNOSTIC */
 #define PCM_WAIT(x)		do {					\
 	PCM_LOCKASSERT(x);						\
 	while ((x)->flags & SD_F_BUSY)					\
@@ -590,7 +590,7 @@ int	sound_oss_card_info(oss_card_info *);
 		mtx_unlock(&Giant);					\
 	}								\
 } while (0)
-#endif /* !SND_DIAGNOSTIC */
+#endif /* SND_DIAGNOSTIC */
 
 #define PCM_GIANT_LEAVE(x)						\
 	PCM_GIANT_EXIT(x);						\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404120110.43C1AGif041345>