From nobody Thu Dec 18 11:46:02 2025 Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.202]) (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 2BDAC1F9EBA for ; Mon, 13 Jan 2025 22:27:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736807267; cv=none; b=Bk94vRQDxiFCG+vmpj51pnljVC2+txBtiY1ma1Di8JtI/XQZDYGyHWc+G53lj3WdFnuexNXNbpeQ+P12gS8TFbTGnjnN1qoJFDNXc0q0vCO4D+/J99D7FReso9APipF4TTjYxHRh6lXBSfHBdFO6VFuiTrxM76PXCnVE1544EvQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736807267; c=relaxed/simple; bh=zqLBBXrug8v32oNQce0fAdA/PWXxsTOVhZ1W2PAUujg=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Hyhe16ZVJzsYHAbuQHWr4A9TtvH5VjHAz1aaRURuAr0npx4m5t1fLhVZfib+m2EoKZMwF5/aoUWH53IMhSO+/5RChbHrA8qEgq+1oemiiXdcB+p91s0Ix3qu1Y0/T4sAF5apKu21fT+47UMo8UKom7eZ8IpOTEniqEriYshGfq0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=fq58RQRH; arc=none smtp.client-ip=209.85.214.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="fq58RQRH" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-2167141e00eso84967955ad.2 for ; Mon, 13 Jan 2025 14:27:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1736807265; x=1737412065; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:from:to:cc:subject:date:message-id:reply-to; bh=lOOaItQ8XjWrN4V+XnxPKIJp+wwpgWIYOMyymj/eGI4=; b=fq58RQRHVE7B25bcyzIUnGkKtG6O8D3+vBcC0+PWEwNE1fBg/cmE48lOcTxLVSysD6 zS/PeK6zoPkY4WyXcuNqyXva+vlDRHVdHGAw7NzKZrG2o5oAgK5NJESfTJ+rzk2eQcUG fhZ+eLw8PYdhfuSq0A/qn4M3nHVzA19Afwm+bY9StQNKtiTJpNQzheQJBPA0ETsuVCLX 6qS82tiHEN4C2hNqsERJWnQpm0v41ga+V+qFo8Ry8HA5vvV4/jETZayLjODvQGitXrhV i1dTTc7pHcYeC00xwL2YevBxtqfdf+IH8dHsqKhHGE37ka7tcDy4aVexMkSmANtHjemQ +VGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736807265; x=1737412065; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lOOaItQ8XjWrN4V+XnxPKIJp+wwpgWIYOMyymj/eGI4=; b=uQJGGnqcDqGYprF9+un+i1Mzpf+dn/kVtdDFxQeuBrI+pm/9bT4R6sdHbnAhf+5dHX 0bM8Ib65ZpliXntlmyh9GVsSY6+5jkIq8Nccvzzpqmhqd+R/QW/iJy/lsws8BLjALWNs Hh2QlvwYrWyYlz49c2rLj/TNk62ZE2FQ1EZBuIF9W5PjlS4bEi7bV/cvRPXkcLIr4RHv hhQx43egNTeMiruTOP4TDBwtwdVEOVqB1NRp5/DYbz1zrYQSZQ43YcR+CfHg3rOLcd3I foW7rn7GleOdxRjZgJQI9o1V7e0crgFrRCzaSr9v4XgGGHw+NEXRF+ZTsfbUHyM7z5Gq 631g== X-Forwarded-Encrypted: i=1; AJvYcCW3qzJ4Ok7n1MNbbul6g5AWbBfiKcMbdHeOWPb+Ay/h1U/nmTRu7YdO5YpEV4Qn8fEBXJ8Ft8UJmMK8F+Q=@vger.kernel.org X-Gm-Message-State: AOJu0Yx34OR54q52ilvHg3ml/bCOFJYPPdc4OUmnw2xwSWx9NHFlzchP ad6diHFw2tTYqKgBeggulL3Qh/7K3Ejg1ShuRVoiuNDPlS4pLBjZFDqI3MxTLUpKtahHnuC1C5i N3A== X-Google-Smtp-Source: AGHT+IE4SCIj0eT4MwfhXXuqwjQSQynoe//BaCPOdrBHH5GyAIKrqtS2BvL94oyZ9JQHJxJWpwkBjqq4Xkc= X-Received: from pfbcz13.prod.google.com ([2002:aa7:930d:0:b0:724:f17d:ebd7]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a21:8cc3:b0:1d9:2b51:3ccd with SMTP id adf61e73a8af0-1e88cf7ba29mr37755024637.7.1736807265389; Mon, 13 Jan 2025 14:27:45 -0800 (PST) Reply-To: Sean Christopherson Date: Mon, 13 Jan 2025 14:27:37 -0800 In-Reply-To: <20250113222740.1481934-1-seanjc@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20250113222740.1481934-1-seanjc@google.com> X-Mailer: git-send-email 2.47.1.688.g23fc6f90ad-goog Message-ID: <20250113222740.1481934-3-seanjc@google.com> Subject: [PATCH 2/5] KVM: selftests: Mark test_hv_cpuid_e2big() static in Hyper-V CPUID test From: Sean Christopherson To: Vitaly Kuznetsov , Sean Christopherson , Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Dongjie Zou , stable@vger.kernel Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Make the Hyper-V CPUID test's local helper test_hv_cpuid_e2big() static, it's not used outside of the test (and isn't intended to be). Cc: Vitaly Kuznetsov Signed-off-by: Sean Christopherson Reviewed-by: Vitaly Kuznetsov --- tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c b/tools/test= ing/selftests/kvm/x86_64/hyperv_cpuid.c index 4f5881d4ef66..9a0fcc713350 100644 --- a/tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c +++ b/tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c @@ -111,7 +111,7 @@ static void test_hv_cpuid(const struct kvm_cpuid2 *hv_c= puid_entries, } } =20 -void test_hv_cpuid_e2big(struct kvm_vm *vm, struct kvm_vcpu *vcpu) +static void test_hv_cpuid_e2big(struct kvm_vm *vm, struct kvm_vcpu *vcpu) { static struct kvm_cpuid2 cpuid =3D {.nent =3D 0}; int ret; --=20 2.47.1.688.g23fc6f90ad-goog