]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcsp - fix printk format warning again
authorTakashi Iwai <tiwai@suse.de>
Wed, 20 May 2009 15:05:52 +0000 (17:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 20 May 2009 15:08:00 +0000 (17:08 +0200)
commit68bca24cf3e26a5d10be540ca8a9c983c856c279
tree05fb54ad5b0bf9e0f6aee9da73d5da19e953611a
parent63dccfdc668d9b7db5302130a04c8c1779204852
ALSA: pcsp - fix printk format warning again

The commit 63dccfdc668d9b7db5302130a04c8c1779204852 changed the
printk format to '%lu', but the value passed seems to be dependent
on the architecture.  On x86-64, I got a new warning now because an
int value is passed actaully.

As a workaround, just cast the value always to unsigned long.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/pcsp/pcsp_mixer.c