From: Adrian Bunk <bunk@fs.tum.de>
To: benny@hostmobility.com, perex@suse.cz
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: [2.6 patch] fix two snd_printdd in sound/pci/cs46xx/dsp_spos_scb_lib.c
Date: Thu, 5 Feb 2004 15:26:06 +0100 [thread overview]
Message-ID: <20040205142606.GV26093@fs.tum.de> (raw)
I got the following warnings in 2.6.2-mm1:
<-- snip -->
...
CC sound/pci/cs46xx/dsp_spos_scb_lib.o
sound/pci/cs46xx/dsp_spos_scb_lib.c: In function
`cs46xx_dsp_pcm_channel_set_period':
sound/pci/cs46xx/dsp_spos_scb_lib.c:1394: warning: too few arguments for format
sound/pci/cs46xx/dsp_spos_scb_lib.c: In function
`cs46xx_dsp_pcm_ostream_set_period':
sound/pci/cs46xx/dsp_spos_scb_lib.c:1432: warning: too few arguments for format
...
<-- snip -->
The trivial fix is below.
Please apply
Adrian
--- linux-2.6.2-mm1/sound/pci/cs46xx/dsp_spos_scb_lib.c.old 2004-02-05 15:14:57.000000000 +0100
+++ linux-2.6.2-mm1/sound/pci/cs46xx/dsp_spos_scb_lib.c 2004-02-05 15:15:28.000000000 +0100
@@ -1391,7 +1391,7 @@
temp |= DMA_RQ_C1_SOURCE_MOD16;
break;
default:
- snd_printdd ("period size (%d) not supported by HW\n");
+ snd_printdd ("period size (%d) not supported by HW\n", period_size);
return -EINVAL;
}
@@ -1429,7 +1429,7 @@
temp |= DMA_RQ_C1_DEST_MOD16;
break;
default:
- snd_printdd ("period size (%d) not supported by HW\n");
+ snd_printdd ("period size (%d) not supported by HW\n", period_size);
return -EINVAL;
}
reply other threads:[~2004-02-05 14:26 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=20040205142606.GV26093@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=alsa-devel@alsa-project.org \
--cc=benny@hostmobility.com \
--cc=linux-kernel@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®