aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2019-12-11 14:26:25 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-21 13:57:44 +0100
commit311497e0c5565e7d9cf7b0987d17626b228b8fec (patch)
treeaef6e9ad3455c98b89e217aef798a89dddec8bfc /virt/kvm/kvm_main.c
parentKVM: hyperv: Fix some typos in vcpu unimpl info (diff)
downloadlinux-dev-311497e0c5565e7d9cf7b0987d17626b228b8fec.tar.xz
linux-dev-311497e0c5565e7d9cf7b0987d17626b228b8fec.zip
KVM: Fix some writing mistakes
Fix some writing mistakes in the comments. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r--virt/kvm/kvm_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index f0501272268f..1a6d5ebd5c42 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -1519,7 +1519,7 @@ static inline int check_user_page_hwpoison(unsigned long addr)
/*
* The fast path to get the writable pfn which will be stored in @pfn,
* true indicates success, otherwise false is returned. It's also the
- * only part that runs if we can are in atomic context.
+ * only part that runs if we can in atomic context.
*/
static bool hva_to_pfn_fast(unsigned long addr, bool write_fault,
bool *writable, kvm_pfn_t *pfn)