[alsa-devel] [PATCH] fix format type mismatch in sound/pci/lola/lola_proc.c

Takashi Iwai tiwai at suse.de
Wed May 21 11:12:38 CEST 2014


At Tue, 20 May 2014 19:22:17 +0200,
Toralf Förster wrote:
> 
> Signed-off-by: Toralf Förster <toralf.foerster at gmx.de>

Thanks, applied.


Takashi

> ---
>  sound/pci/lola/lola_proc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/pci/lola/lola_proc.c b/sound/pci/lola/lola_proc.c
> index 04df83d..c241dc0 100644
> --- a/sound/pci/lola/lola_proc.c
> +++ b/sound/pci/lola/lola_proc.c
> @@ -151,7 +151,7 @@ static void lola_proc_codec_rw_write(struct snd_info_entry *entry,
>  	char line[64];
>  	unsigned int id, verb, data, extdata;
>  	while (!snd_info_get_line(buffer, line, sizeof(line))) {
> -		if (sscanf(line, "%i %i %i %i", &id, &verb, &data, &extdata) != 4)
> +		if (sscanf(line, "%u %u %u %u", &id, &verb, &data, &extdata) != 4)
>  			continue;
>  		lola_codec_read(chip, id, verb, data, extdata,
>  				&chip->debug_res,
> -- 
> 1.9.3
> 


More information about the Alsa-devel mailing list