Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp241543rdh; Thu, 23 Nov 2023 02:46:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFW0bMVKSrX+GS6YEDJIBecnnM9u4ucxUGU3kilXn9A0clESpqOhWtDMfkMUZcP08W/vdyd X-Received: by 2002:a05:6a00:8083:b0:6cb:8beb:15dc with SMTP id eh3-20020a056a00808300b006cb8beb15dcmr3670596pfb.30.1700736402840; Thu, 23 Nov 2023 02:46:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700736402; cv=none; d=google.com; s=arc-20160816; b=pHnt1DYKPrS5SULnmYzVZzE0a8oiUiofS4Ry2Qlp196LUviEef6Xi8zpGbOJlCraGo mp1bplhJ0pEj61dSgyj1KtNgJg+CHH9AQesSTR/CYP4C9V/E2Vdsl2nKLeIjiieOSYJ+ RF0KN0DZywmPq8YEaVVYaj1BZs8qZqPoOvUwgkG4EfSFQUw6RCOKuUEeXE0FznIbvBEV gO3gyAWZPbHDevWin97t/UIFYEnXRJPopRPRjWFLQhAdazjBeF0ofOyCK/hjrq/uUf6l 8RCPFy1dqYToWdNgf+k3HoiSz+Vaz/Nd+be2Kw3y5hkBiJf+cd/4BGlVpQuiEBoJy/uc q+Ug== 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=NtI50uoCDiHMqx4Rjlld52n2DZQx1Uhvw1oK4L9B3YA=; fh=xTLXRGx4c4TfWcKwHqVnB5TIoYG9Q9s1pGUshP+bk2Q=; b=ke4XI8EjS4g34l8g6F6nk7yqGUGqoJe/H5zZ9lmZ/+Gd2kFyGLzyUgJMyNMjeKNxKW hHs76EegCBv/cIbV45jNrkwXracWMgqimRRbn7UKznpx7Qb5Vdj3d4lXOa0XfUTrxQNb cKmXwZGVekwWSD0tZQiv5A7MHLHl7yU2x1jdEdISVztxbM+MwKGFE1UJ/P0P+2lzmXRp C2bcHAc49a/dvie+SG8DXHpzM3RorVx58Aap2jC2G9Wpm0ODC5+tXgr7hzMc2QZEVVby SwEofFzsbqleEfO3n8CoNbUf2VDz9PQctIlOENJL1xAe76oGvUKShsXfDA+JrDg8kQIu /Ryg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rTcTIJoo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id fj31-20020a056a003a1f00b006cbbd5967besi1041091pfb.228.2023.11.23.02.46.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 02:46:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rTcTIJoo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 8C2128087245; Thu, 23 Nov 2023 02:46:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344854AbjKWKqI (ORCPT + 99 others); Thu, 23 Nov 2023 05:46:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344779AbjKWKp7 (ORCPT ); Thu, 23 Nov 2023 05:45:59 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6265CD4A for ; Thu, 23 Nov 2023 02:46:05 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E59BEC433C9; Thu, 23 Nov 2023 10:46:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700736365; bh=a/0xnzSEqDgdkmB+Ou/rO19RkkJCDKLmNeBwmcdoHhE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=rTcTIJooVID1Ib9olpdj+20mPww9uC5zCmFqFdKXWqeKxQuvxgx6dKoAgRe3lHfCR 7dC92JTY4NK32pEqTbrOELXoFoj+zS3Z7bVUStw8som5F5AcstvYDPkk+4uoa2DIY1 fbCWe+UuWopz6Vys3o0xAVK/Dz32QA5x+8CQrLVVklKhPU5/MEjZFOkHyoOXjkQuOn wkW3i4YGsdCyB9f63Vk6W9InIBl+jr/n4xf6n9FrOXnef2RvZlL5npifrN7fNRv1LP P1GdAqJ6L9tVUuYL7yBV97rA78QP8rosb3cU/nU/QSOhV8iJyFHKSVlrnmMV3/98EH 9v912jBT6pICA== From: Mark Brown Date: Thu, 23 Nov 2023 10:45:49 +0000 Subject: [PATCH 3/3] kselftest/vDSO: Use ksft_print_msg() rather than printf in vdso_test_abi MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231123-kselftest-vdso-test-name-v1-3-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=1205; i=broonie@kernel.org; h=from:subject:message-id; bh=a/0xnzSEqDgdkmB+Ou/rO19RkkJCDKLmNeBwmcdoHhE=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBlXy1lMTced+NcgUkIpAhxxJ8e7HZk4MO0yZjrl pFql9Ib0p+JATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZV8tZQAKCRAk1otyXVSH 0M9NB/sGRJU2UFvPA5r3mlI2dzt36kaovzgfbklY1UeNZUS1bz59nT74Klk6v1p5k8ywH5yK9k4 7eKdQ2qtaN+jq3CrJRNjLGRB1qnyjsHJ41AW4NiVBKon9a+SO4Qwzoq5RysgwB4daRolPJm7hhy i4MLgKHoZTecqDfl9LFQiAjJcwqGJOCvsF/SztCgQtqZ9hsQpnzl1QFNrYr5PG2gPiespvk+zoW KZzovK79wUE1VKgxXcSXpCklw4gkRAma7HMu9PUCed05bx8/g/+9So8LqZRrXLh0ikZl0H7JJGR I7llYuwE/vRrsTWXTl4wk0i1TCk0M+WzB8zk9usW2N38PPuc 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 howler.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 (howler.vger.email [0.0.0.0]); Thu, 23 Nov 2023 02:46:40 -0800 (PST) There are a couple of raw printf() calls in vdso_test_abi which result in non KTAP conforment output such as [vDSO kselftest] VDSO_VERSION: LINUX_2.6 Convert them to use ksft_print_msg() so that they don't cause confusion for parsers. Signed-off-by: Mark Brown --- tools/testing/selftests/vDSO/vdso_test_abi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/vDSO/vdso_test_abi.c b/tools/testing/selftests/vDSO/vdso_test_abi.c index d0e247cca58a..96d32fd65b42 100644 --- a/tools/testing/selftests/vDSO/vdso_test_abi.c +++ b/tools/testing/selftests/vDSO/vdso_test_abi.c @@ -187,14 +187,14 @@ int main(int argc, char **argv) ksft_set_plan(VDSO_TEST_PLAN); if (!sysinfo_ehdr) { - printf("AT_SYSINFO_EHDR is not present!\n"); + ksft_print_msg("AT_SYSINFO_EHDR is not present!\n"); return KSFT_SKIP; } version = versions[VDSO_VERSION]; name = (const char **)&names[VDSO_NAMES]; - printf("[vDSO kselftest] VDSO_VERSION: %s\n", version); + ksft_print_msg("[vDSO kselftest] VDSO_VERSION: %s\n", version); vdso_init_from_sysinfo_ehdr(getauxval(AT_SYSINFO_EHDR)); -- 2.39.2