* [2.6 patch] fix two snd_printdd in sound/pci/cs46xx/dsp_spos_scb_lib.c
@ 2004-02-05 14:26 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2004-02-05 14:26 UTC (permalink / raw)
To: benny, perex; +Cc: alsa-devel, linux-kernel
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-05 14:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-05 14:26 [2.6 patch] fix two snd_printdd in sound/pci/cs46xx/dsp_spos_scb_lib.c Adrian Bunk
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®