From patchwork Mon Apr 28 04:08:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masanari Iida X-Patchwork-Id: 4074691 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 7C33C9F169 for ; Mon, 28 Apr 2014 04:09:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B2433201BC for ; Mon, 28 Apr 2014 04:09:32 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 2B38120166 for ; Mon, 28 Apr 2014 04:09:31 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6D0012608E8; Mon, 28 Apr 2014 06:09:28 +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.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, NO_DNS_FOR_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 5CEB926089A; Mon, 28 Apr 2014 06:09:17 +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 B52DC2608B7; Mon, 28 Apr 2014 06:09:15 +0200 (CEST) Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by alsa0.perex.cz (Postfix) with ESMTP id 6FE66260890 for ; Mon, 28 Apr 2014 06:09:07 +0200 (CEST) Received: by mail-pa0-f41.google.com with SMTP id kp14so2040023pab.28 for ; Sun, 27 Apr 2014 21:09:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=oNK0B7Z76H1nfuCo6wnfGvKPYXCe6quG083QP4rpNGo=; b=VZz/lAs6mTKlNRUMkHMwiSWy4lJf8I3Qb/MCXuUS8LY6cTJbfDNdMXTUOgr6Y9rYvz noE186Oh4/WoTP6QKoaiCA/vC6KLLqMGpg32xDx23C5aRRfHT6Bc46E0xfY48ik4eMum K8gtiy6vOWwreTgFZ9KgbElr7IhovpFe+slcKY9K60VKyrSMsuMsXAz6KUsvB8QrPhcp DSmRsUoQTRO+caTq4O3JwZBko0KZv6FbqBoehsz9lV8txA2h7GV+ugHogyerwfWw7cOQ l/AiZPF5J2bTBuJPkZWfL/GrEdrZEBT/KJFApl7dXx3zAUeXZr8bN+ly8V/I7Mgt29/Q FRpw== X-Received: by 10.68.110.226 with SMTP id id2mr26708469pbb.40.1398658145176; Sun, 27 Apr 2014 21:09:05 -0700 (PDT) Received: from masabert (p406172-omed01.tokyo.ocn.ne.jp. [153.148.85.172]) by mx.google.com with ESMTPSA id f5sm83912825pat.11.2014.04.27.21.09.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Apr 2014 21:09:04 -0700 (PDT) Received: by masabert (Postfix, from userid 1000) id EAF296279D; Mon, 28 Apr 2014 13:08:56 +0900 (JST) From: Masanari Iida To: perex@perex.cz, tiwai@suse.de, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Date: Mon, 28 Apr 2014 13:08:55 +0900 Message-Id: <1398658135-19971-1-git-send-email-standby24x7@gmail.com> X-Mailer: git-send-email 2.0.0.rc1 Cc: Masanari Iida Subject: [alsa-devel] [PATCH] sound: usb: Fix format string mismatch in mixer.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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Fix format string mismatch in parse_audio_selector_unit(). Signed-off-by: Masanari Iida --- sound/usb/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c index d40a285..6fe83e4 100644 --- a/sound/usb/mixer.c +++ b/sound/usb/mixer.c @@ -1986,7 +1986,7 @@ static int parse_audio_selector_unit(struct mixer_build *state, int unitid, void if (! len && check_input_term(state, desc->baSourceID[i], &iterm) >= 0) len = get_term_name(state, &iterm, namelist[i], MAX_ITEM_NAME_LEN, 0); if (! len) - sprintf(namelist[i], "Input %d", i); + sprintf(namelist[i], "Input %u", i); } kctl = snd_ctl_new1(&mixer_selectunit_ctl, cval);