[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231103173008.630217-4-nsg@linux.ibm.com>
Date: Fri, 3 Nov 2023 18:30:07 +0100
From: Nina Schoetterl-Glausch <nsg@...ux.ibm.com>
To: Alexander Gordeev <agordeev@...ux.ibm.com>,
Cornelia Huck <cornelia.huck@...ibm.com>,
Michael Mueller <mimu@...ux.vnet.ibm.com>,
Christian Borntraeger <borntraeger@...ux.ibm.com>,
Vasily Gorbik <gor@...ux.ibm.com>,
Claudio Imbrenda <imbrenda@...ux.ibm.com>,
Heiko Carstens <hca@...ux.ibm.com>,
David Hildenbrand <dahi@...ux.vnet.ibm.com>,
Janosch Frank <frankja@...ux.ibm.com>
Cc: Nina Schoetterl-Glausch <nsg@...ux.ibm.com>,
linux-kernel@...r.kernel.org, Sven Schnelle <svens@...ux.ibm.com>,
kvm@...r.kernel.org, David Hildenbrand <david@...hat.com>,
linux-s390@...r.kernel.org
Subject: [PATCH 3/4] KVM: s390: cpu model: Use previously unused constant
No point in defining a size for the mask if we're not going to use it.
Fixes: 9d8d578605b4 ("KVM: s390: use facilities and cpu_id per KVM")
Signed-off-by: Nina Schoetterl-Glausch <nsg@...ux.ibm.com>
---
arch/s390/include/asm/kvm_host.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h
index 427f9528a7b6..46fcd2f9dff8 100644
--- a/arch/s390/include/asm/kvm_host.h
+++ b/arch/s390/include/asm/kvm_host.h
@@ -811,7 +811,7 @@ struct s390_io_adapter {
struct kvm_s390_cpu_model {
/* facility mask supported by kvm & hosting machine */
- __u64 fac_mask[S390_ARCH_FAC_LIST_SIZE_U64];
+ __u64 fac_mask[S390_ARCH_FAC_MASK_SIZE_U64];
struct kvm_s390_vm_cpu_subfunc subfuncs;
/* facility list requested by guest (in dma page) */
__u64 *fac_list;
--
2.39.2
Powered by blists - more mailing lists