Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp241461rdh; Thu, 23 Nov 2023 02:46:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IFjRRVST6dKWpDOyE/GHyKhckcf/hLC26W44M86rpD0iAnc1ZkSAbztk/0V0Sp7m6Scmm5Z X-Received: by 2002:a17:902:e887:b0:1cf:59d5:2db1 with SMTP id w7-20020a170902e88700b001cf59d52db1mr3517024plg.10.1700736389047; Thu, 23 Nov 2023 02:46:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700736389; cv=none; d=google.com; s=arc-20160816; b=S7KjGWOvCazV02E8UD6RzLPs4pRSyYQF9wC9I3jXevhoW760dmbKGHLUGnB4An37lv YiNyTUlZnNIVzC48RA+0/aDY3YHFttk/Dqizk2CyBg1WAQqGglQnauCVki32GO8/VAK9 J5gD8OHqO8Q7oBa8JLPCr0bLkXIdC4IGBtEzNilP+4TqDjWBntvDh9yTP6oSE6+YWLJi X7gN6oatUJwHyfEJ6D5KGp056qzNACExs2H6IISfFVs+sMFuhkYbfSZqZFOyPhoVB4Ah 8lGkuhi+i/I+cZhdNauyOBAbLkeGDA3d5FI9Dnd0LY++Rgj3VMnWbudaDrlzpRNQO+4O b2zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=uSZY/haUUdeELA/J7RqroQCTBgguiE7pO/oMnSPdbNA=; fh=xTLXRGx4c4TfWcKwHqVnB5TIoYG9Q9s1pGUshP+bk2Q=; b=bD1LB/ut6EQd2U3KAvSiV2JCfcYATraogutYOt9ip8Uu8WW0gvdbLjW8mIrT4FPyj0 iTprIAK3DPq2HoJr3BMRxGW7cKkMMEmPi3X+VY07J5y9HIyuLl+PgI/w+I7l80Ey0vi/ MWJ4VLj47U9mAuWqVTQD1r9hGkjjwbBbxa0ke47fryWGj7CT1mezhLhSa0lAbOWZyS1N 7dQnJ3ZtOjpT5YuNLsZPOiDMpXTrzil9j6jOh+a924PCerlJbzLmY5RlLuIrIw/A4DA9 jrWp3QVADsUF/jK3yP12hAAGKEMF2GiY3vwUR/M+pnLrhsJrN4EZ035zFIM1awMumaJu YB0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ajdIZ+/e"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id e6-20020a170902744600b001cf5572d972si891192plt.210.2023.11.23.02.46.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 02:46:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ajdIZ+/e"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 562598325412; Thu, 23 Nov 2023 02:46:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344820AbjKWKqE (ORCPT + 99 others); Thu, 23 Nov 2023 05:46:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230150AbjKWKp4 (ORCPT ); Thu, 23 Nov 2023 05:45:56 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D2B21BD for ; Thu, 23 Nov 2023 02:46:03 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CAC7C433C7; Thu, 23 Nov 2023 10:46:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700736363; bh=kb3AIT5xG1kFCiQ1Vz+UvRYW0kxBneNP3MyKZ8I3yMw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=ajdIZ+/e6/N4hUqFRjdNpAhx8Ye4yk+RAxJEwyynxyAOoXTxab//qTui6Vvq/uLiY uHpxjyuH81bRUlgtyjXwhNoIybaLNtYSTGoYjgFzuHX+5wvfR4Orua9Oe/AuMrSV7C 5LFOuRGV46yoMjL54cmdPzMacP2qw47l6rN9AybNku1l265sEhcBYP+xWt8GK74JpP khidagGHu+FBOGTC8DTXmlDASF6n+0GzOVf6yfl37qbkW/gAPj/eH0p1OP5UiXViGl 21DSJhZm1gNZZy0Qx5eh+ynz8Spe3gu4hrJUYAJP208viZpCI++MlhCE6VLe1ELxbr BNGqHTUYao3Lw== From: Mark Brown Date: Thu, 23 Nov 2023 10:45:48 +0000 Subject: [PATCH 2/3] kselftest/vDSO: Fix message formatting for clock_id logging MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231123-kselftest-vdso-test-name-v1-2-1b30441c422b@kernel.org> References: <20231123-kselftest-vdso-test-name-v1-0-1b30441c422b@kernel.org> In-Reply-To: <20231123-kselftest-vdso-test-name-v1-0-1b30441c422b@kernel.org> To: Shuah Khan Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown X-Mailer: b4 0.13-dev-0438c X-Developer-Signature: v=1; a=openpgp-sha256; l=1123; i=broonie@kernel.org; h=from:subject:message-id; bh=kb3AIT5xG1kFCiQ1Vz+UvRYW0kxBneNP3MyKZ8I3yMw=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBlXy1kdvjeWC86olt31l1UALcmPYTkSVpBieK6Q AQu19N/ubqJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZV8tZAAKCRAk1otyXVSH 0O9BB/4mWSoAfdRNgPQ8rNiUEhipeTPetXaKsihnKxpsSxSwaR1M2CX0hyEnzzU7yIBXvEsp7nj OZ+A+/ALdtzdpXHes2R2/gnRJ9y+ck0SCa80S45QAC6w89R/W09Vq3jZWz33U7SGVH4yBuxol65 Q3WyjU5Q6mj3GR7BIFFC6reEhfGtvgJsOUpcXcMyvRJF6lxR9iZ9dSi3Cq3ZMl/1TwvHx8ITUw0 8K8AsnQTlAX1by2G5XKUgPxuV0RWwA7nTkke2Q3yzLb0YnB3GZtpY8zX90X5pvSfUgWfS5aOt1u M9edALMMYGp5YvmwUlU5OCeccmQwxWZpVODQ3nAUVkSIh0gK X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 23 Nov 2023 02:46:26 -0800 (PST) When logging the ID of the currently tested clock vdso_test_clock() puts a spurious newline at the start of the format string resulting in output such as # clock_id: CLOCK_BOOTTIME which is a valid but empty KTAP informational message followed by a non conferment output line. Remove the initial newline to create a more KTAP friendly # clock_id: CLOCK_BOOTTIME Signed-off-by: Mark Brown --- tools/testing/selftests/vDSO/vdso_test_abi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/vDSO/vdso_test_abi.c b/tools/testing/selftests/vDSO/vdso_test_abi.c index b304abae6e8f..d0e247cca58a 100644 --- a/tools/testing/selftests/vDSO/vdso_test_abi.c +++ b/tools/testing/selftests/vDSO/vdso_test_abi.c @@ -170,7 +170,7 @@ static void vdso_test_clock_getres(clockid_t clk_id) */ static inline void vdso_test_clock(clockid_t clock_id) { - ksft_print_msg("\nclock_id: %s\n", vdso_clock_name[clock_id]); + ksft_print_msg("clock_id: %s\n", vdso_clock_name[clock_id]); vdso_test_clock_gettime(clock_id); -- 2.39.2