From: Takashi Iwai <tiwai@suse.de>
To: Miles Lane <miles.lane@attbi.com>
Cc: Jaroslav Kysela <perex@suse.cz>, alsa-devel@lists.sourceforge.net
Subject: Re: 2.5.70-bk7 (alsa 0.9.4) -- sound/usb/usbaudio.c:1947: `iface_no' undeclared (first use in this function)
Date: Tue, 03 Jun 2003 12:07:26 +0200 [thread overview]
Message-ID: <s5hn0gzo4o1.wl@alsa2.suse.de> (raw)
In-Reply-To: <3EDBC602.4060905@attbi.com>
[-- Attachment #1: Type: text/plain, Size: 541 bytes --]
At Mon, 02 Jun 2003 14:47:46 -0700,
Miles Lane wrote:
>
> CC [M] sound/usb/usbaudio.o
> sound/usb/usbaudio.c: In function `parse_audio_format_i_type':
> sound/usb/usbaudio.c:1947: `iface_no' undeclared (first use in this
> function)
> sound/usb/usbaudio.c:1947: (Each undeclared identifier is reported only once
> sound/usb/usbaudio.c:1947: for each function it appears in.)
> sound/usb/usbaudio.c:1947: `altno' undeclared (first use in this function)
> make[2]: *** [sound/usb/usbaudio.o] Error 1
the attached patch works?
Takashi
[-- Attachment #2: usb-fix.dif --]
[-- Type: application/octet-stream, Size: 487 bytes --]
--- linux/sound/usb/usbaudio.c 2 Jun 2003 10:04:45 -0000 1.56
+++ linux/sound/usb/usbaudio.c 3 Jun 2003 10:05:59 -0000
@@ -1939,7 +1939,7 @@
switch (format) {
case 0: /* some devices don't define this correctly... */
snd_printdd(KERN_INFO "%d:%u:%d : format type 0 is detected, processed as PCM\n",
- dev->devnum, iface_no, altno);
+ dev->devnum, fp->iface, fp->altsetting);
/* fall-through */
case USB_AUDIO_FORMAT_PCM:
if (sample_width > sample_bytes * 8) {
prev parent reply other threads:[~2003-06-03 10:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-02 21:47 2.5.70-bk7 (alsa 0.9.4) -- sound/usb/usbaudio.c:1947: `iface_no' undeclared (first use in this function) Miles Lane
2003-06-03 10:07 ` Takashi Iwai [this message]
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=s5hn0gzo4o1.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=miles.lane@attbi.com \
--cc=perex@suse.cz \
/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.