[ALSA] hdspm - Fix printk warnings
authorTakashi Iwai <tiwai@suse.de>
Mon, 6 Nov 2006 14:38:55 +0000 (15:38 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:01:20 +0000 (09:01 +0100)
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>
sound/pci/rme9652/hdspm.c

index 3d3a4ce3a35e3a1b08d2294a73d28a3effd66e81..e0215aca119364eff28261ab238a01e84a840963 100644 (file)
@@ -3678,7 +3678,7 @@ static int snd_hdspm_hw_params(struct snd_pcm_substream *substream,
 
                hdspm->playback_buffer =
                    (unsigned char *) substream->runtime->dma_area;
-               snd_printdd("Allocated sample buffer for playback at 0x%08X\n",
+               snd_printdd("Allocated sample buffer for playback at %p\n",
                                hdspm->playback_buffer);
        } else {
                hdspm_set_sgbuf(hdspm, sgbuf, HDSPM_pageAddressBufferIn,
@@ -3689,7 +3689,7 @@ static int snd_hdspm_hw_params(struct snd_pcm_substream *substream,
 
                hdspm->capture_buffer =
                    (unsigned char *) substream->runtime->dma_area;
-               snd_printdd("Allocated sample buffer for capture at 0x%08X\n",
+               snd_printdd("Allocated sample buffer for capture at %p\n",
                                hdspm->capture_buffer);
        }
        /*