Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp212059rdb; Mon, 22 Jan 2024 18:06:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IEpQX5qzg0SVVYMHr5N01KRsUDtpwxA4xI4OCc6L82DUc++Z95XdC1ZqjwmZZg8lywjlBsB X-Received: by 2002:a2e:a590:0:b0:2cd:34e2:b7e9 with SMTP id m16-20020a2ea590000000b002cd34e2b7e9mr1487427ljp.52.1705975595291; Mon, 22 Jan 2024 18:06:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705975595; cv=pass; d=google.com; s=arc-20160816; b=p1vRF9rxKhdBBCZZr4VzJEbjSMBnFvmJfmCsrTcHZIIEVvaH4EJfurcgLMpby/cRIr uqGRNQiyNdIbF/4NAAoWahlr8m1m1hpyzx/5Nw30BaBTci9vLQsLrbidES5wRHPYeIM/ bVjbFPqlfCqsSRlGTVAJa/054uCWPI1fweTijpioOZRlWLXiKzqSocJmKQy3k6EX3gN1 R94QuLUnugNT+oFZ9h9oNNGvAA5TLZ7yyU3jgpqVy6Hf43nmbW/BI7ZKx/XC4v0NI0n+ nY/hfZSMCF0Xg2SG0G4KbSJuUsJizggVxCmpS4kV+qKmR0tK3orF8ctTx82WVdcMnOSq Xw3Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=/kALPm3tc7IOO14W2+Ux9bk6tPG0Dp9oIgNSKTs2jB0=; fh=q7hTlrhOoyF1/LngWPo3GuPxjSRwcZxUuOwMAMnsirI=; b=KhN6VaEWtjiAJGD3S9Y799Cjg+gToV05JYGGU9/sU+4IFONFCOPmsQYyJQtB+bQx3w f8ad21D/K1EW6sBE9s5qdnza4Ss4cxejzoUW+iH3XZucvDPEC5s5At5jBrPUSm6/c1rn u0Rq2f3AQyIzPAWABo4xXH/6q7BbRjdKJs+L15KT9vK7355EhBkTVesZTkrtbRx3P5u8 dTe0RuzMZgbHs2iQkSfiUqxbbmHlAk2rlIPUFwAOAsZvlco1TengAvbin5wq6OT5uFWF 2gP5SSubmRTxY4wnY7JjSx6JKBpWUl+49QXrVkXWWtiNUB1OfKMu78Y32GZlpG4Cz7Ap polw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="VvlNBUA/"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-34561-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34561-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r21-20020a50d695000000b0055c87e323adsi14271edi.243.2024.01.22.18.06.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 18:06:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34561-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="VvlNBUA/"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-34561-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34561-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 67D401F2C388 for ; Tue, 23 Jan 2024 01:57:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 970AC66B2B; Tue, 23 Jan 2024 00:59:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="VvlNBUA/" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9A85651A1; Tue, 23 Jan 2024 00:59:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705971558; cv=none; b=G9FzU0tZ8MNOKzAOmc71sznPUsPewdHAIUMrjxqI5vbZBUGPM2K/CBU4VzMPgdqbtwMXpJfAFh2uWKZENYqJqXuYBZ1kjTicOJSP36SZGKU3dsPSU1Ypq0vcu3EGD69/ADycaePouzTBt2wRzFmU8nqmX862V2a31PE5GzQl4Wk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705971558; c=relaxed/simple; bh=SwdYwyu5LPPC2k5+EfmJJnKF6mGVyeSyptesZsjsqvw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oJlc7ZBni9zRDaIUZ2ENEbYSvLS/7BxZP1SAWLrg69TpsutoM29DXTucsfwzg3QGmBybgG2othy8gIuzbhoKGfL/J7va+33NGZX0rQSSYhEp55dDc0yD1JYPzn8PcHwNbDOHXZv1eK3k2HNnGG1s35PXPihsfLwrlDTYHwlbkaY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VvlNBUA/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68B02C433C7; Tue, 23 Jan 2024 00:59:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1705971558; bh=SwdYwyu5LPPC2k5+EfmJJnKF6mGVyeSyptesZsjsqvw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VvlNBUA/boh7JJnV2+hnJ2z8sU3R4NsqRA7ZF/0kRF8UUSItJ/Y2M4swywOAX1+yv SAU5yjqm6ni6oxSet5hYd2Dwo1CjS43eosYdLdqrR7R0N4ukJN9SaY6mOKTGY/Ikay 9YFKksvzwQaJX71ZieyjXgzyegViDvPV3ER6u5WQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Mark Brown , Jaroslav Kysela , Takashi Iwai , Shuah Khan , linux-sound@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Mirsad Todorovac , Takashi Iwai , Sasha Levin Subject: [PATCH 6.1 242/417] kselftest/alsa - mixer-test: fix the number of parameters to ksft_exit_fail_msg() Date: Mon, 22 Jan 2024 15:56:50 -0800 Message-ID: <20240122235800.264776887@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240122235751.480367507@linuxfoundation.org> References: <20240122235751.480367507@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mirsad Todorovac [ Upstream commit 8c51c13dc63d46e754c44215eabc0890a8bd9bfb ] Minor fix in the number of arguments to error reporting function in the test program as reported by GCC 13.2.0 warning. mixer-test.c: In function ‘find_controls’: mixer-test.c:169:44: warning: too many arguments for format [-Wformat-extra-args] 169 | ksft_exit_fail_msg("snd_ctl_poll_descriptors() failed for %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The number of arguments in call to ksft_exit_fail_msg() doesn't correspond to the format specifiers, so this is adjusted resembling the sibling calls to the error function. Fixes: b1446bda56456 ("kselftest: alsa: Check for event generation when we write to controls") Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: Shuah Khan Cc: linux-sound@vger.kernel.org Cc: linux-kselftest@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Mirsad Todorovac Acked-by: Mark Brown Link: https://lore.kernel.org/r/20240107173704.937824-2-mirsad.todorovac@alu.unizg.hr Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- tools/testing/selftests/alsa/mixer-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/alsa/mixer-test.c b/tools/testing/selftests/alsa/mixer-test.c index 37da902545a4..d59910658c8c 100644 --- a/tools/testing/selftests/alsa/mixer-test.c +++ b/tools/testing/selftests/alsa/mixer-test.c @@ -205,7 +205,7 @@ static void find_controls(void) err = snd_ctl_poll_descriptors(card_data->handle, &card_data->pollfd, 1); if (err != 1) { - ksft_exit_fail_msg("snd_ctl_poll_descriptors() failed for %d\n", + ksft_exit_fail_msg("snd_ctl_poll_descriptors() failed for card %d: %d\n", card, err); } -- 2.43.0