diff options
author | Fuad Tabba <tabba@google.com> | 2020-04-01 15:03:10 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-05-16 15:05:01 +0100 |
commit | 656012c731fcfd0f770007366e2b952a613745f2 (patch) | |
tree | c177174e71b3d0bd8a27be90337f0292c6b162de /arch/arm64/kvm/guest.c | |
parent | ce6f8f02f9f6786355fa6c79d88b839639dd75d8 (diff) | |
download | linux-stable-656012c731fcfd0f770007366e2b952a613745f2.tar.gz linux-stable-656012c731fcfd0f770007366e2b952a613745f2.tar.bz2 linux-stable-656012c731fcfd0f770007366e2b952a613745f2.zip |
KVM: Fix spelling in code comments
Fix spelling and typos (e.g., repeated words) in comments.
Signed-off-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200401140310.29701-1-tabba@google.com
Diffstat (limited to 'arch/arm64/kvm/guest.c')
-rw-r--r-- | arch/arm64/kvm/guest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kvm/guest.c b/arch/arm64/kvm/guest.c index 50a279d3ddd7..871d51729b63 100644 --- a/arch/arm64/kvm/guest.c +++ b/arch/arm64/kvm/guest.c @@ -267,7 +267,7 @@ static int set_sve_vls(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) /* * Vector lengths supported by the host can't currently be * hidden from the guest individually: instead we can only set a - * maxmium via ZCR_EL2.LEN. So, make sure the available vector + * maximum via ZCR_EL2.LEN. So, make sure the available vector * lengths match the set requested exactly up to the requested * maximum: */ @@ -337,7 +337,7 @@ static int sve_reg_to_region(struct sve_state_reg_region *region, unsigned int reg_num; unsigned int reqoffset, reqlen; /* User-requested offset and length */ - unsigned int maxlen; /* Maxmimum permitted length */ + unsigned int maxlen; /* Maximum permitted length */ size_t sve_state_size; |