lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 30 Jun 2022 21:08:39 +0800 From: Zhang Jiaming <jiaming@...china.com> To: chenhuacai@...nel.org, aleksandar.qemu.devel@...il.com, tsbogend@...ha.franken.de Cc: linux-mips@...r.kernel.org, kvm@...r.kernel.org, linux-kernel@...r.kernel.org, liqiong@...china.com, renyu@...china.com, Zhang Jiaming <jiaming@...china.com> Subject: [PATCH] KVM: MIPS/MMU: Fix spelling mistake in a variable There is a spelling mistake in a variable. Change 'writeable' to 'writable'. Signed-off-by: Zhang Jiaming <jiaming@...china.com> --- arch/mips/kvm/mmu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mips/kvm/mmu.c b/arch/mips/kvm/mmu.c index 1bfd1b501d82..a331407b6b04 100644 --- a/arch/mips/kvm/mmu.c +++ b/arch/mips/kvm/mmu.c @@ -594,7 +594,7 @@ static int kvm_mips_map_page(struct kvm_vcpu *vcpu, unsigned long gpa, int srcu_idx, err; kvm_pfn_t pfn; pte_t *ptep, entry, old_pte; - bool writeable; + bool writable; unsigned long prot_bits; unsigned long mmu_seq; @@ -630,7 +630,7 @@ static int kvm_mips_map_page(struct kvm_vcpu *vcpu, unsigned long gpa, smp_rmb(); /* Slow path - ask KVM core whether we can access this GPA */ - pfn = gfn_to_pfn_prot(kvm, gfn, write_fault, &writeable); + pfn = gfn_to_pfn_prot(kvm, gfn, write_fault, &writable); if (is_error_noslot_pfn(pfn)) { err = -EFAULT; goto out; @@ -654,7 +654,7 @@ static int kvm_mips_map_page(struct kvm_vcpu *vcpu, unsigned long gpa, /* Set up the PTE */ prot_bits = _PAGE_PRESENT | __READABLE | _page_cachable_default; - if (writeable) { + if (writable) { prot_bits |= _PAGE_WRITE; if (write_fault) { prot_bits |= __WRITEABLE; -- 2.25.1
Powered by blists - more mailing lists