Skip to content

Commit 10f7b1d

Browse files
Nina Schoetterl-Glauschfrankjaa
authored andcommitted
KVM: s390: cpu model: Use proper define for facility mask size
Use the previously unused S390_ARCH_FAC_MASK_SIZE_U64 instead of S390_ARCH_FAC_LIST_SIZE_U64 for defining the fac_mask array. Note that both values are the same, there is no functional change. Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com> Link: https://lore.kernel.org/r/20231219140854.1042599-4-nsg@linux.ibm.com Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Message-ID: <20231219140854.1042599-4-nsg@linux.ibm.com>
1 parent 682dbf4 commit 10f7b1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/s390/include/asm/kvm_host.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ struct s390_io_adapter {
818818

819819
struct kvm_s390_cpu_model {
820820
/* facility mask supported by kvm & hosting machine */
821-
__u64 fac_mask[S390_ARCH_FAC_LIST_SIZE_U64];
821+
__u64 fac_mask[S390_ARCH_FAC_MASK_SIZE_U64];
822822
struct kvm_s390_vm_cpu_subfunc subfuncs;
823823
/* facility list requested by guest (in dma page) */
824824
__u64 *fac_list;

0 commit comments

Comments
 (0)