Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 492F8C4332F for ; Mon, 7 Feb 2022 18:35:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242419AbiBGSfl (ORCPT ); Mon, 7 Feb 2022 13:35:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240362AbiBGScE (ORCPT ); Mon, 7 Feb 2022 13:32:04 -0500 Received: from mail-pj1-x1049.google.com (mail-pj1-x1049.google.com [IPv6:2607:f8b0:4864:20::1049]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FC53C0401D9 for ; Mon, 7 Feb 2022 10:32:04 -0800 (PST) Received: by mail-pj1-x1049.google.com with SMTP id md16-20020a17090b23d000b001b8bd5e35e2so2911622pjb.0 for ; Mon, 07 Feb 2022 10:32:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=reply-to:date:message-id:mime-version:subject:from:to:cc; bh=S5r7fnqeDy+mkjZQN4h4voFdDc0GV+XZLPB3/vK2BOk=; b=aCiYn/Ji6EoB3DdBgLs2L5HeMojNwVbv+p28zibQLL/3F9XbD3Lzp1ufLuITgHINsZ BvcUIO1KlLVwXMb2H7E9NfgwvyHV47qt4YZVb5Le2IrOdIlgphyH0KtEeAVq/xHybiK/ BtC8X3Dw0eutmyTCEFH1BPc3yXUkUJxxd55QCZ3TbgCieFKOm6PkItqy12CjDp487j0R ciwswkfANlJPav+oI8IZbnvGz/WPRbwjDOmNVvIQ5QDQ7i0IJYfMplALClGa0em3n28B ni5awbGtUaAMjpVkyZ+nEJfPqICHpisdC2pZbyJfjed3F1mdZ7HqG0t9n5BpNgNBE/Aa L4YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:reply-to:date:message-id:mime-version:subject :from:to:cc; bh=S5r7fnqeDy+mkjZQN4h4voFdDc0GV+XZLPB3/vK2BOk=; b=QgaCJY/UbYQV37G6XhJiSciIh2+TwDv7IOfu1YwOzSoLESv6+lp1DbS9n6eI/brknY o9cZV86TzHudPP+2JjdtkFWkAQ8boyjro3mj5CTmayVP44HqnyRIQO6KVBNmA10Bt6fg gtjbhvpit/svmguZpBJX5IiDsyWUWk02WALgYXhoUFNtPgI5Du3vUVh7g/G6gy6qX3IU Dkvh+jqyRf5YSi85NPu5NxuWYwpTbtDGOwwo/mFKR5FQ8GXO2nT4rHue/R8fXCVaNl82 uTF/6yi1x1BqOkLAOpBTFxT8o4vDHiYUKNNK9o/S9LZQdEOWLwOfhuR164cgJmg/5+FB AqfA== X-Gm-Message-State: AOAM532gv4eJNuKMwQv7z9NSsXOhNmh+5KlSYm8a8HL3k6y9YP8W6z9q weTM8EYCsY71TiKeI9w9fXlYdEOGh6X3 X-Google-Smtp-Source: ABdhPJxcKq2dEI5NXB5GHj0brCLFSKHkA6D4MuUXxnx2zPwa3jitNwWBvjFX/9uQ/jtLm+pjtB1upIGEBzWf X-Received: from mizhang-super.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:1071]) (user=mizhang job=sendgmr) by 2002:a17:903:2290:: with SMTP id b16mr853365plh.103.1644258723718; Mon, 07 Feb 2022 10:32:03 -0800 (PST) Reply-To: Mingwei Zhang Date: Mon, 7 Feb 2022 18:31:44 +0000 Message-Id: <20220207183144.1148652-1-mizhang@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.35.0.263.gb82422642f-goog Subject: [PATCH] KVM: fix trailing spaces and incorrect indent in function parameter. From: Mingwei Zhang To: Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, David Matlack , Mingwei Zhang Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Trailing spaces and incorrect spaces within function defintions makes it incovenient to submit new patches to the code, as they are always 'irrelevant' changes. So, fix the space issue in virt/kvm/kvm_main.c in a separate commit. Cc: David Matlack Signed-off-by: Mingwei Zhang --- virt/kvm/kvm_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 034c567a680c..37606b61a28d 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -2514,7 +2514,7 @@ static int hva_to_pfn_remapped(struct vm_area_struct *vma, * tail pages of non-compound higher order allocations, which * would then underflow the refcount when the caller does the * required put_page. Don't allow those pages here. - */ + */ if (!kvm_try_get_pfn(pfn)) r = -EFAULT; @@ -2932,7 +2932,7 @@ EXPORT_SYMBOL_GPL(kvm_vcpu_read_guest_atomic); static int __kvm_write_guest_page(struct kvm *kvm, struct kvm_memory_slot *memslot, gfn_t gfn, - const void *data, int offset, int len) + const void *data, int offset, int len) { int r; unsigned long addr; -- 2.35.0.263.gb82422642f-goog