Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp2960110img; Mon, 25 Mar 2019 00:22:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQlja9Cnm2EtsTnqvEB8fbD8T7+FvdfM1QTFaWEGJZmrQGFrInQEUjgbhl9T+YwK0+Xtj3 X-Received: by 2002:a62:1f86:: with SMTP id l6mr22557026pfj.138.1553498529718; Mon, 25 Mar 2019 00:22:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553498529; cv=none; d=google.com; s=arc-20160816; b=l8c+46NBAHVyw74uk438UzYyMWY1orzWfA6fyyDJeNIYK22zUiVtjNEIdsa8tp9hr6 yhK9ZUXd6zw0l0mrRfSAXvD/ha5JBYYqKXX10pszvUvlY1054WBT4/7JThne6xPulOrs Hh2ZinwsTbuvEPmhnh5RUNIp77r/GiCFaHBkIc6jPqDXUlZI1a/+7Xx928tOE+j9m+4T H7Kg8CjCn1aBfCG8SwF2JRTDhbw6qFGWTl5ab5XJJ9sFUJRsQPiiFSrLdhdvrebGH4uI Ag0tlpXwT90PREI4MojRAEV8HPS5QRAWHQSrz3EtVKIJpzSrX4ALtpYXOSuYCPl61DZp KwEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=HiXglE63aqJwCysrxx16LA9n+s14nQEmYTZAMxJKvm4=; b=zQWKKjka4L3hwTdt2cTuycfngy2wXdcZcx6Tov+oPI23bK/23fonHhY/2+xHOcLvQh 5lw4aiei453N3xujokxwWTY12ZxNb7ba1NhJGhrPV46iVlzxTAZgr0LettAXkTfpq8fc NZ126cmX79PLpD7xk3bQykhQI7NGKNWISU6c4gn1tf9BZfFgCV58QnTZsr0gjihxBiFw JBDfCaItATpFUG2d27YlquKr0nxDaUPBkfycv8gsmyLnvyvrPNBvhTd7bwaDI5lQdPy0 /HQ4Y/VP/kOgjfaVDywaNmJVhGJV88T8LxPO6oGbU07K+gfAVAwdXuNNr2xP1AMhYAo1 RUeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g32si13230984pgg.223.2019.03.25.00.21.55; Mon, 25 Mar 2019 00:22:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729883AbfCYHVC (ORCPT + 99 others); Mon, 25 Mar 2019 03:21:02 -0400 Received: from out1.zte.com.cn ([202.103.147.172]:38400 "EHLO mxct.zte.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729778AbfCYHVC (ORCPT ); Mon, 25 Mar 2019 03:21:02 -0400 Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Forcepoint Email with ESMTPS id 2E27C768BC215687EE7B; Mon, 25 Mar 2019 15:20:54 +0800 (CST) Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id x2P7K9dr051101; Mon, 25 Mar 2019 15:20:09 +0800 (GMT-8) (envelope-from peng.hao2@zte.com.cn) Received: from localhost.localdomain.localdomain ([10.74.120.59]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2019032515201496-6222746 ; Mon, 25 Mar 2019 15:20:14 +0800 From: Peng Hao To: pbonzini@redhat.com, rkrcmar@redhat.com Cc: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Peng Hao Subject: [PATCH] kvm: fix a function description error Date: Mon, 25 Mar 2019 23:43:51 +0800 Message-Id: <1553528631-74808-1-git-send-email-peng.hao2@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2019-03-25 15:20:15, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2019-03-25 15:20:08, Serialize complete at 2019-03-25 15:20:08 X-MAIL: mse01.zte.com.cn x2P7K9dr051101 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The parameter's name of function description is different from definition. Signed-off-by: Peng Hao --- virt/kvm/kvm_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 5858452..4e11918 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -1134,7 +1134,7 @@ int kvm_get_dirty_log(struct kvm *kvm, * and reenable dirty page tracking for the corresponding pages. * @kvm: pointer to kvm instance * @log: slot id and address to which we copy the log - * @is_dirty: flag set if any page is dirty + * @flush: flag set if any page is dirty (need to flush tlb) * * We need to keep it in mind that VCPU threads can write to the bitmap * concurrently. So, to avoid losing track of dirty pages we keep the @@ -1221,6 +1221,7 @@ int kvm_get_dirty_log_protect(struct kvm *kvm, * and reenable dirty page tracking for the corresponding pages. * @kvm: pointer to kvm instance * @log: slot id and address from which to fetch the bitmap of dirty pages + * @flush: flag set if any page is dirty (need to flush tlb) */ int kvm_clear_dirty_log_protect(struct kvm *kvm, struct kvm_clear_dirty_log *log, bool *flush) -- 1.8.3.1