aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-11-06 09:38:55 -0500
committerJaroslav Kysela <perex@suse.cz>2007-02-09 03:01:20 -0500
commit54bf5dd9ccd8c37830d7dae0737466e8fda018aa (patch)
tree69a24658a7f6e964bbd595fa7d7a856770e814c9
parent9174140cf383c56bdcabb4caf9c99c5ac8f3fdd7 (diff)
[ALSA] hdspm - Fix printk warnings
sound/pci/rme9652/hdspm.c: In function 'snd_hdspm_hw_params': sound/pci/rme9652/hdspm.c:3681: warning: format '%08X' expects type 'unsigned int', but argument 4 has type 'unsigned char *' sound/pci/rme9652/hdspm.c:3692: warning: format '%08X' expects type 'unsigned int', but argument 4 has type 'unsigned char *' Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-rw-r--r--sound/pci/rme9652/hdspm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
index 3d3a4ce3a35e..e0215aca1193 100644
--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -3678,7 +3678,7 @@ static int snd_hdspm_hw_params(struct snd_pcm_substream *substream,
3678 3678
3679 hdspm->playback_buffer = 3679 hdspm->playback_buffer =
3680 (unsigned char *) substream->runtime->dma_area; 3680 (unsigned char *) substream->runtime->dma_area;
3681 snd_printdd("Allocated sample buffer for playback at 0x%08X\n", 3681 snd_printdd("Allocated sample buffer for playback at %p\n",
3682 hdspm->playback_buffer); 3682 hdspm->playback_buffer);
3683 } else { 3683 } else {
3684 hdspm_set_sgbuf(hdspm, sgbuf, HDSPM_pageAddressBufferIn, 3684 hdspm_set_sgbuf(hdspm, sgbuf, HDSPM_pageAddressBufferIn,
@@ -3689,7 +3689,7 @@ static int snd_hdspm_hw_params(struct snd_pcm_substream *substream,
3689 3689
3690 hdspm->capture_buffer = 3690 hdspm->capture_buffer =
3691 (unsigned char *) substream->runtime->dma_area; 3691 (unsigned char *) substream->runtime->dma_area;
3692 snd_printdd("Allocated sample buffer for capture at 0x%08X\n", 3692 snd_printdd("Allocated sample buffer for capture at %p\n",
3693 hdspm->capture_buffer); 3693 hdspm->capture_buffer);
3694 } 3694 }
3695 /* 3695 /*