public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hal Duston <hduston@speedscript.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@diego.com, hch@lst.de
Subject: Small sound/core fix
Date: 13 May 2003 13:53:37 -0500	[thread overview]
Message-ID: <1052852017.11514.40.camel@ulysseus> (raw)

This fixes a bug that appears to have crept in between 
2.5.69-mm1 and 2.5.69-mm2 with the "switch most remaining 
drivers over to devfs_mk_bdev" patch

Hal Duston

--- linux-2.5.69-mm2/sound/core/info.c
+++ linux-2.5.69-mm2-fix/sound/core/info.c
@@ -1080,7 +1080,7 @@
 	entry->p = p;
 	up(&info_mutex);
 
-	if (strncmp(name, "controlC", 8) == 0)	/* created in sound.c */
+	if (strncmp(name, "controlC", 8) != 0)	/* created in sound.c */
 		devfs_mk_cdev(MKDEV(_major, minor), mode, "snd/%s", name);
 	return entry;
 }




                 reply	other threads:[~2003-05-13 18:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1052852017.11514.40.camel@ulysseus \
    --to=hduston@speedscript.com \
    --cc=akpm@diego.com \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox