From patchwork Tue May 20 17:22:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Toralf_F=C3=B6rster?= X-Patchwork-Id: 4212121 X-Patchwork-Delegate: tiwai@suse.de Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4339B9F1CD for ; Tue, 20 May 2014 17:22:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 72F7620353 for ; Tue, 20 May 2014 17:22:45 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id E25D62020F for ; Tue, 20 May 2014 17:22:40 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 853EF2652E6; Tue, 20 May 2014 19:22:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 62129264EF3; Tue, 20 May 2014 19:22:28 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 25CA4265066; Tue, 20 May 2014 19:22:27 +0200 (CEST) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by alsa0.perex.cz (Postfix) with ESMTP id 3D26A264EF3 for ; Tue, 20 May 2014 19:22:19 +0200 (CEST) Received: from n22.fritz.box ([78.54.163.50]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LfSeH-1X6EKZ1nnV-00p1Sp; Tue, 20 May 2014 19:22:18 +0200 From: =?UTF-8?q?Toralf=20F=C3=B6rster?= To: tiwai@suse.de Date: Tue, 20 May 2014 19:22:17 +0200 Message-Id: <1400606537-22073-1-git-send-email-toralf.foerster@gmx.de> X-Mailer: git-send-email 1.9.3 MIME-Version: 1.0 X-Provags-ID: V03:K0:6nA8+WfucEp+q0UboKeq9DrMtL8WtwIExAzze4BO4fte47pPwxc nBzNDYCBxJMCDgRimIak8I7ISnrG4d5XL127Dgd8rG0a8YdptLnUN2w0Fz2C5+3byfujT00 xpLvWMMnCh+psHMcLwSpt2pIf5+5KJl3YZaiRlwpC0LzyS/LM/HygoVE+45z1HsU7qpII2v kAYYCKaR4J1tQzzeAWBTg== Cc: =?UTF-8?q?Toralf=20F=C3=B6rster?= , alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH] fix format type mismatch in sound/pci/lola/lola_proc.c X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Toralf Förster --- 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,