From nobody Tue Dec 16 07:28:40 2025 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [195.130.132.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1610638F96 for ; Wed, 29 May 2024 12:13:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716984824; cv=none; b=tedOBESbBDb76VPcxoihFREp86nQM48qFWDfJ/8YEJ33KoW5hqNggSC/l71dtnTIFQ9PaQ2j9IFv4GjcviDqWALt1tFST3yRN0u02KNi0/QmorubrTmAuCp5msHTx+sFxj1//HJgjCulyHjbds9PiDLA/Xtp3VtChP8VYq6k280= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716984824; c=relaxed/simple; bh=vTtwrXFt86WZNe0Q6OuOfjGHrOGWBybonPKdpNAT3Sc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=hJre6GP4vJuUUu9K1Yh9sDXkGi6wQmhgJVf/8S4/UFCgJEaG6F/crfSPeZIP/IBvyJw5vfqlOxHdjxotPw1jiIHj0ySlgAA10JpA7FqjMq7utaRh409NWJIA05BByuhreK1yfsovuNHZv4sESGU0oanBCooeEOhjRFqZ/Df7NGE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:1b01:1838:131c:4de4]) by xavier.telenet-ops.be with bizsmtp id V0De2C00Q3VPV9V010De6M; Wed, 29 May 2024 14:13:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1sCIAa-00GcFv-CV; Wed, 29 May 2024 14:13:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1sCIBW-009XN5-Mp; Wed, 29 May 2024 14:13:38 +0200 From: Geert Uytterhoeven To: Shuah Khan , John Stultz , Thomas Gleixner , Stephen Boyd , Anna-Maria Behnsen , Frederic Weisbecker , Wolfram Sang Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2] selftests: timers: clocksource-switch: Adapt progress to kselftest framework Date: Wed, 29 May 2024 14:13:35 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" When adapting the test to the kselftest framework, a few printf() calls indicating test progress were not updated. Fix this by replacing these printf() calls by ksft_print_msg() calls. Fixes: ce7d101750ff8450 ("selftests: timers: clocksource-switch: adapt to k= selftest framework") Signed-off-by: Geert Uytterhoeven Reviewed-by: Thomas Gleixner --- v2: - Add Reviewed-by. --- tools/testing/selftests/timers/clocksource-switch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/timers/clocksource-switch.c b/tools/te= sting/selftests/timers/clocksource-switch.c index c5264594064c8516..83faa4e354e389c2 100644 --- a/tools/testing/selftests/timers/clocksource-switch.c +++ b/tools/testing/selftests/timers/clocksource-switch.c @@ -156,8 +156,8 @@ int main(int argc, char **argv) /* Check everything is sane before we start switching asynchronously */ if (do_sanity_check) { for (i =3D 0; i < count; i++) { - printf("Validating clocksource %s\n", - clocksource_list[i]); + ksft_print_msg("Validating clocksource %s\n", + clocksource_list[i]); if (change_clocksource(clocksource_list[i])) { status =3D -1; goto out; @@ -169,7 +169,7 @@ int main(int argc, char **argv) } } =20 - printf("Running Asynchronous Switching Tests...\n"); + ksft_print_msg("Running Asynchronous Switching Tests...\n"); pid =3D fork(); if (!pid) return run_tests(runtime); --=20 2.34.1