Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp528972rdf; Tue, 21 Nov 2023 08:59:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IGTiVAg3jliLXUFvhXPCBH8vlpydGZJjjZON3VvWXcdcEQCiAJNH1sPNWlvQIoVOl3eav65 X-Received: by 2002:a05:6808:3186:b0:3b2:f15e:459f with SMTP id cd6-20020a056808318600b003b2f15e459fmr15562543oib.58.1700585969577; Tue, 21 Nov 2023 08:59:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700585969; cv=none; d=google.com; s=arc-20160816; b=eajz2uk8nGnj+5qKaNgydv3Bb1VgXoVC4uTHfuAsX1ZO/bVCu5MyMRmLWohjuhVs18 KVS9lfcdHZKe/rhp3C1uIMwe0NcD7vwA+oOKGO8OfLwQOO0I+DUZTq/LEF7dsk3qmqa6 F2T5VX+xPztftIJfASHAYATK1G2+j0joN5uyd9BSk6gY89MabflzodMeM9j6YoCMz3Ws Tn8rsxWgJpJ/uk94BwdfoxcU4OCiWXBqSvc6dLJdFUyWO8qqTpHL9KERYGSQ9IyGsW/4 v6G3C1IkZ2Vaf7p/cEEXEET8eiOOy3ZBixsj6zvHzjqFFj7/00+p9Mx/VYtJKAIuda+T ECiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=4LNk5kAGm6SyvUcndkJLMHvNQ5mYfLA7uUadJ5oG+bo=; fh=4N0ilCeWNPUMy3p+fwQEcpDcSktLq8IMxbqwLAweA1k=; b=pjdxD3+qdgGcarbMuyQjhUEGsLl/Ibi7r76qAfsnGa9digHo9klPrqpjHD3MkvBMCd e023qmXNLIuiCARJJsKZhEdIjS5p0NVwUhFtotAF2KKIC+b42+y2yvecXO0A+nA86TaE k2cvD4YxKcOuWZHnrrtgzND8ZTLlIBreuM/mmZ40HKTl+yDzlig4WctIh8GI4wDVocG0 9JroNP7w1sSnuN/8kfNzukaey+BKOlk2/+UXLa3w4hX2yPCw5XH4YyyNb4roNJvotLly AzAmjfIHiecPu8PpGIzGbzcwJo2xaYIZYlow8BGD++cdviOB01jMSYTTWH5D8b66mqSf tb+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VvD7A8h6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id j36-20020a635524000000b005b8ea21ef39si10650521pgb.267.2023.11.21.08.59.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 08:59:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VvD7A8h6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9F8F58030B61; Tue, 21 Nov 2023 08:56:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230348AbjKUQ41 (ORCPT + 99 others); Tue, 21 Nov 2023 11:56:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230202AbjKUQ4Z (ORCPT ); Tue, 21 Nov 2023 11:56:25 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39D7D18C for ; Tue, 21 Nov 2023 08:56:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700585781; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4LNk5kAGm6SyvUcndkJLMHvNQ5mYfLA7uUadJ5oG+bo=; b=VvD7A8h6wvDwMp7t6i35Mih84fwNvV7AmB+Iptp1PIAd38YQyKgznOKRnb2CxcI/OLkhyu uXWkBIFVLKtpChwJzxTdOpj8TbrRF/Bt/XUpbaufHDQCnz0BFkeZ2an3xk1ndg6lYSsdYC bybdimLSGGXbPZyeSdlE8bYkBM8ibWM= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-564-ZGZPA5lNOVGmajCidMmYKA-1; Tue, 21 Nov 2023 11:56:18 -0500 X-MC-Unique: ZGZPA5lNOVGmajCidMmYKA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C6E911C0BB45; Tue, 21 Nov 2023 16:56:17 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id AF7311121306; Tue, 21 Nov 2023 16:56:17 +0000 (UTC) From: Paolo Bonzini To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: [PATCH] selftests/kvm: fix -Wformat warning Date: Tue, 21 Nov 2023 11:56:17 -0500 Message-Id: <20231121165617.1170786-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,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 lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 08:56:29 -0800 (PST) The __TEST_REQUIRE invocation includes a "%d" format specifier but lacks the corresponding argument, so add it. Fixes: 5f5651c67311 ("KVM: selftests: Require DISABLE_NX_HUGE_PAGES cap for NX hugepage test") Signed-off-by: Paolo Bonzini --- tools/testing/selftests/kvm/x86_64/nx_huge_pages_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/x86_64/nx_huge_pages_test.c b/tools/testing/selftests/kvm/x86_64/nx_huge_pages_test.c index 18ac5c1952a3..3d4e59fa9d03 100644 --- a/tools/testing/selftests/kvm/x86_64/nx_huge_pages_test.c +++ b/tools/testing/selftests/kvm/x86_64/nx_huge_pages_test.c @@ -259,7 +259,7 @@ int main(int argc, char **argv) __TEST_REQUIRE(token == MAGIC_TOKEN, "This test must be run with the magic token %d.\n" "This is done by nx_huge_pages_test.sh, which\n" - "also handles environment setup for the test."); + "also handles environment setup for the test.", token); run_test(reclaim_period_ms, false, reboot_permissions); run_test(reclaim_period_ms, true, reboot_permissions); -- 2.39.1