[alsa-devel] [PATCH] fix format type mismatch in sound/pci/lola/lola_proc.c
Signed-off-by: Toralf Förster toralf.foerster@gmx.de --- 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,
At Tue, 20 May 2014 19:22:17 +0200, Toralf Förster wrote:
Signed-off-by: Toralf Förster toralf.foerster@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)
lola_codec_read(chip, id, verb, data, extdata, &chip->debug_res,if (sscanf(line, "%u %u %u %u", &id, &verb, &data, &extdata) != 4) continue;
-- 1.9.3
participants (2)
-
Takashi Iwai
-
Toralf Förster