Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp574538iog; Thu, 30 Jun 2022 06:22:29 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tbo7p+4FnyMQoS6K+eOqCEaOhA3JAOI7F4w92GAlQ6hydEcSmGM0JE1EkQxJ3gUeq88d/6 X-Received: by 2002:a05:6402:2404:b0:437:d11f:b9c7 with SMTP id t4-20020a056402240400b00437d11fb9c7mr11694357eda.176.1656595349344; Thu, 30 Jun 2022 06:22:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656595349; cv=none; d=google.com; s=arc-20160816; b=AwDUtNYwkMSMvYIF6PaBbYU+Klm8VknGtlC50ruAQWT5PkEuZi0k3ap0mxRT/8roi3 aVg73pJeBBz/6SqIG/UKuBgovSbmzXBh1z8pvqWeh7y3+kGXFkmA2f4nHM4bwh0EFMq6 4WHux+0pBQ9axhnzbFDBJJwVEcUqWLeHZ02ZdKFXfhGoc8strA+pMveJsSdN++cl77jE SCH92LwycNlmSpP8oGwKtAza4rJuz7IX2agLgmefKA00jcpy1UfP3vV8bQHo4xoc4QVK OhUWKtIg0+QllfvFpnmoo8A9deDcJ3e14/6bWnMHnmk4Kd1zyukJTM9oHKBtIfWSQ5EH jfvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=PsQ/3NMf/+hCrByj/D7tqhh0i7lR3ISdZ9giJPA0Als=; b=qo8fWQCtRz+BiQRUQScQWGq4w0L5tFeyszDv8eGT0n33JYSS38npxUTl9Wb0s20s/M hkW+9CyiE3CuO4/CPrviS6GdjG0bywA9ORCKB3KNDaMtuH9AXBvcKj72nqoRqmjXPl91 djs4wKl6YhpcHJfDCBlpAeogTSAOL4+8oL0kNAXaQGw5eOE1AQtTzmNE8BTE2uzd2FHL JLYbFcWUHDSq8YAm6VgODUComwR2eqCpRCuVPea3pST9CDV9CmEK2uhzHyEUlOBKTkqs EThsBmmHvHKl90U4wsIR3X6XLeKi/qHncEdrstWKHz82ZTiyjTlwMnbVZwCm5rc2odBg +/QQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q14-20020a170906a08e00b007103c7570ecsi6427306ejy.188.2022.06.30.06.21.58; Thu, 30 Jun 2022 06:22:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234567AbiF3NIt (ORCPT + 99 others); Thu, 30 Jun 2022 09:08:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234040AbiF3NIr (ORCPT ); Thu, 30 Jun 2022 09:08:47 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7E7DC13D5C; Thu, 30 Jun 2022 06:08:46 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 548981E80D11; Thu, 30 Jun 2022 21:07:24 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8kwn5uBiFNEb; Thu, 30 Jun 2022 21:07:21 +0800 (CST) Received: from localhost.localdomain (unknown [112.65.12.78]) (Authenticated sender: jiaming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id AAA571E80CB6; Thu, 30 Jun 2022 21:07:20 +0800 (CST) From: Zhang Jiaming To: chenhuacai@kernel.org, aleksandar.qemu.devel@gmail.com, tsbogend@alpha.franken.de Cc: linux-mips@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, liqiong@nfschina.com, renyu@nfschina.com, Zhang Jiaming Subject: [PATCH] KVM: MIPS/MMU: Fix spelling mistake in a variable Date: Thu, 30 Jun 2022 21:08:39 +0800 Message-Id: <20220630130839.9464-1-jiaming@nfschina.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is a spelling mistake in a variable. Change 'writeable' to 'writable'. Signed-off-by: Zhang Jiaming --- 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