From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E282F1A238C for ; Fri, 17 Jan 2025 16:31:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737131507; cv=none; b=DG8HlI9PHdvmwhn9kpt41csTKsCovjjabpTrYGT4xt0eh1hiV73JKKv5tzgIiaQmnLuuNzQuVVSdUw2tOUih4wxdMquRNTOMJZ7iZwjRythZT7ZsXvAlzfBEwbJlXpqBpJoo8c1e0hnI0FJf7ZfRQRrSD+UFoCGgVh+A2nrcpUM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737131507; c=relaxed/simple; bh=WztnRYS3SHfqd24LqnEIzWOB8UahJSVf2y0QXe0PqfQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=ss5Q3/AkqDBJmJIvpeA+CuLYs8+UderQM2l/ENTzKapdmWZyco47PADiXYi7T45L7xtLbAkygFnhYEaIUMzVyTehCzWoQA2YNijqy7qXGyV4OgWRtB6lA6oCNlua38CMrQh0HQbBhE8uKB9ivtJXEsD+ZSCXYYGoo8r5AV96PTY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=fk2Qt24S; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fk2Qt24S" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737131505; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PO7Vp/9rycoIjRaujSsXUtjeQeNilIlBSnpxR2h4ix4=; b=fk2Qt24SVwN1UNFMZsVCLOudyZ1X+6MMdDHUL2lxspqEI85RYhyJAb89JMRdOh9pkfPMWO dXA4IubWjmWAS/UGNDrkyHUvR0jGOvDqFkrmD5ThzwCQKzNQ39NjGlOhGc3xozfKf4at/F iSh4LSCiQO3HtfAJEMeQIyXcJS0lums= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-182-5WeBWtUcM3-WnyB58JT6OA-1; Fri, 17 Jan 2025 11:31:42 -0500 X-MC-Unique: 5WeBWtUcM3-WnyB58JT6OA-1 X-Mimecast-MFC-AGG-ID: 5WeBWtUcM3-WnyB58JT6OA Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-43628594d34so12142055e9.2 for ; Fri, 17 Jan 2025 08:31:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737131501; x=1737736301; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PO7Vp/9rycoIjRaujSsXUtjeQeNilIlBSnpxR2h4ix4=; b=dnbGmY6AFQydg1IXGiX4aGwtVlxGDm6SdDcnCLYHPUKk/vopcKH62B913bg4XxxdqR nfhfDalMzPga4v00y8OeKdG/FdRf0DTdMWEx9p+1AVrmcWWErUEp6xTAuy2mbuw5Kw55 uc3yQ+AexOVrTxMzpIxMz7MEu2/UvWlKiMEAR+WXT5rwfXsjkA4pH7jYWrMnwC7re4FO 1x9sODkuQxb2cxP5shdDvXur4CA+smJoOLx4WUDwUmbGK69j5y2Eo4g+EQzOeWLGlL71 /OGESLkvFw372lmp5cAYSxIJ8hUC6k89IWPrSg6ZYtLnz+pXo1TTM1gsBCQA9qxpxQ0Y Zo8g== X-Forwarded-Encrypted: i=1; AJvYcCWKkr/cNCUwhYF6gEXkefggpVtW2FMKPovLmvGfbh3wEVVhFhguu6miD/t+7G6s7V8+dhoBqxQD0pINdoo=@vger.kernel.org X-Gm-Message-State: AOJu0YygvPphqe3qjum+Rih7gbSJjokFH3z6M2zmv6nGOac8IDATcdFI mGNiZjckrjtwnkzpOGsjFE1YTeMHtlsBGC0LrZ8tHUfvPjOOervV+VSynDtscfuyi9iAvuZqxAc AQ208B+C5DpmXLbFdA4NmIOqy7s76qkUIzcbQBQdsXdDmkUR9LUCZzA8rydIk0A== X-Gm-Gg: ASbGncsX57q31uoiz3b9sZUs00PfVf7dJ4ZrrGl3DEzxGxdacBFpB6cL4Zi9ocnVyvg wqC57fov+mS/WVON0qvUXESahiwzp5++vRx25+NF/uCg/L4QtXh0JooAde7i90Exp2GQW1Wuobu YvXjAJddM6GLfq5bcAWHjq2EpGtRnZYEtPfeDy79VVHTbAf5grKnNM3WxdsxeQwaJZbrtBbrxor opiHeWhZEHRG226rHNe+v2iaRZzbVmuNypBQ8rMd4MW6ghMb5Y= X-Received: by 2002:a05:600c:4ed4:b0:434:feb1:adae with SMTP id 5b1f17b1804b1-438913c8604mr33777295e9.3.1737131501382; Fri, 17 Jan 2025 08:31:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7yqnGbLCm33qy20LN561ANPRSjGH5vrUeYQY0yeDItL/1QpZAkKqPioghVTCaGkuubyJg5Q== X-Received: by 2002:a05:600c:4ed4:b0:434:feb1:adae with SMTP id 5b1f17b1804b1-438913c8604mr33776875e9.3.1737131501038; Fri, 17 Jan 2025 08:31:41 -0800 (PST) Received: from fedora (g2.ign.cz. [91.219.240.8]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438904084e7sm38322605e9.6.2025.01.17.08.31.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 08:31:40 -0800 (PST) From: Vitaly Kuznetsov To: Sean Christopherson , Sean Christopherson , Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Dongjie Zou , stable@vger.kernel Subject: Re: [PATCH 2/5] KVM: selftests: Mark test_hv_cpuid_e2big() static in Hyper-V CPUID test In-Reply-To: <20250113222740.1481934-3-seanjc@google.com> References: <20250113222740.1481934-1-seanjc@google.com> <20250113222740.1481934-3-seanjc@google.com> Date: Fri, 17 Jan 2025 17:31:39 +0100 Message-ID: <87frlh8kr8.fsf@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Sean Christopherson writes: > 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 > --- > 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/testing/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_cpuid_entries, > } > } > > -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 = {.nent = 0}; > int ret; Reviewed-by: Vitaly Kuznetsov -- Vitaly