lkml.org 
[lkml]   [2010]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -next] sound: fix patch_realtek printk format
At Tue, 30 Mar 2010 10:46:21 -0700,
Randy Dunlap wrote:
>
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> Fix printk format warnings in patch_realtek.c:
>
> ound/pci/hda/patch_realtek.c:5120: warning: format '%s' expects type 'char *', but argument 2 has type 'int'
> sound/pci/hda/patch_realtek.c:5120: warning: too few arguments for format
>
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> Cc: Jaroslav Kysela <perex@perex.cz>
> Cc: Takashi Iwai <tiwai@suse.de>

Thanks, this was already fixed for tomorrow's merge.


Takashi

> ---
> sound/pci/hda/patch_realtek.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> --- linux-next-20100330.orig/sound/pci/hda/patch_realtek.c
> +++ linux-next-20100330/sound/pci/hda/patch_realtek.c
> @@ -5117,7 +5117,8 @@ static void fillup_priv_adc_nids(struct
> }
> if (!spec->num_adc_nids) {
> printk(KERN_WARNING "hda_codec: %s: no valid ADC found;"
> - " using fallback 0x%x\n", fallback_adc);
> + " using fallback 0x%x\n",
> + codec->chip_name, fallback_adc);
> spec->private_adc_nids[0] = fallback_adc;
> spec->adc_nids = spec->private_adc_nids;
> if (fallback_adc != fallback_cap) {
>


\
 
 \ /
  Last update: 2010-03-30 20:05    [W:0.251 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site