All of lore.kernel.org
 help / color / mirror / Atom feed
From: gumble <gumble@gmx.li>
To: linux-sound@vger.kernel.org
Subject: [linux-sound] typo in alsa sound system upto kernel 2.5.8pre2
Date: Wed, 10 Apr 2002 13:47:35 +0000	[thread overview]
Message-ID: <marc-linux-sound-101844707210313@msgid-missing> (raw)

hi 
i found a bug, or better a typo in the alsa drivers in the 2.5.x kernels

compiling a 2.5.8pre2 with alsa support for my sb16 isa :) i got this message


sound/sound.o: In function `snd_opl3_hwdep_new':
sound/sound.o(.text+0x2b74c): undefined reference to `snd_hwdep_new'
make: *** [vmlinux] Error 1


so i googled around and didnt find anything ....
later i got the idea to grep the srces
and i found a typo in 

linux/sound/drivers/opl3/opl3_lib.c
line 492

if ((err = snd_hwdep_new(card, "OPL2/OPL3", device, &hw)) < 0) {

-->

if ((err = snd_opl3_hwdep_new(card, "OPL2/OPL3", device, &hw)) < 0) {

and the kernel can be compiled

i hope it's correct or does not produce new bugs at least 



mfg
gumble

                 reply	other threads:[~2002-04-10 13:47 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=marc-linux-sound-101844707210313@msgid-missing \
    --to=gumble@gmx.li \
    --cc=linux-sound@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.