Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5050173pxj; Wed, 9 Jun 2021 08:04:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDbpQ7enk4J7bqLDMf5Ef8KJb8III7dJtnn50vTdOyBVbd2IWY9pYM42DZNhpoKYKEWGsO X-Received: by 2002:aa7:c594:: with SMTP id g20mr30505979edq.193.1623251076388; Wed, 09 Jun 2021 08:04:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623251076; cv=none; d=google.com; s=arc-20160816; b=qAfquIAC0oGoMV/FAjdUX2QBqW77YXBETU1RD16Qg7yxyKIRftTmSPD5gtIQUqZGcd EktcefmJmDtSWEtcCsz3jwLvjSSXrAdg2of6+HRbvxkIh/V5ahQtZgz//nViy/AgGY67 rCdpmKRBaLmbuqRdbUJNTI5AT2oJPlD3g+b3hmWpjS+83hedRsVBQNDAuCpWgND4Hm7T hrQU8cyl1rLDhnnWlr3cC2qIADCqM5d4rmM45xHWCSn4+IqVSdLQWcrng5T+yi+U1vip OZS6rI+ZZSAEmalEKk48cotWiBVu1DvKM60AeCCZzRrNCzVzPC46Fc0JuK20i/81zwwh Dj5g== 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=zOksuOvip/g3SPbqNOh8oSOzj8grjYFseM8TEQ/z6Q4=; b=Q6Uo68aIYJxJgCydAgQu8yz8WfKxHRHbPwCQmoOepO1okimlqps3v1p3m8qR5PuXmw igdtiKwW9a0JpC60niTJ4qVwx9XzFbFmmp2FOTW9PfD4rV9mICIizsM5QicwUxsdNAzh z1znWOdi25AzJU6jEyJM+9Vu7+4xwngcxqrzqFqEldEqFl45hwROp3oTx1riHXLgAAhg DpDxJYx4WeQq8l0g+YdS6MpvGDe1TIq4JXwsOdoWh/SbHk84NZwwHc8cMfMl9fL70urd NNU3b7iGqxqjZH47zi9cKG3POP1kYWP1rJnFty2GROqpsZii7y+GJymboh+VBA2VIKcm kkhQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y21si43293ejb.616.2021.06.09.08.04.11; Wed, 09 Jun 2021 08:04:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234982AbhFIMSK (ORCPT + 99 others); Wed, 9 Jun 2021 08:18:10 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:5307 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234251AbhFIMSI (ORCPT ); Wed, 9 Jun 2021 08:18:08 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4G0Qtn3X5gz19S62; Wed, 9 Jun 2021 20:11:13 +0800 (CST) Received: from dggemi758-chm.china.huawei.com (10.1.198.144) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Wed, 9 Jun 2021 20:16:05 +0800 Received: from huawei.com (10.175.101.6) by dggemi758-chm.china.huawei.com (10.1.198.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 9 Jun 2021 20:15:59 +0800 From: ChenXiaoSong To: , , , , CC: , , , , Subject: [PATCH -next] KVM: SVM: fix doc warnings Date: Wed, 9 Jun 2021 20:22:17 +0800 Message-ID: <20210609122217.2967131-1-chenxiaosong2@huawei.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.101.6] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggemi758-chm.china.huawei.com (10.1.198.144) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix gcc W=1 warnings: arch/x86/kvm/svm/avic.c:233: warning: Function parameter or member 'activate' not described in 'avic_update_access_page' arch/x86/kvm/svm/avic.c:233: warning: Function parameter or member 'kvm' not described in 'avic_update_access_page' arch/x86/kvm/svm/avic.c:781: warning: Function parameter or member 'e' not described in 'get_pi_vcpu_info' arch/x86/kvm/svm/avic.c:781: warning: Function parameter or member 'kvm' not described in 'get_pi_vcpu_info' arch/x86/kvm/svm/avic.c:781: warning: Function parameter or member 'svm' not described in 'get_pi_vcpu_info' arch/x86/kvm/svm/avic.c:781: warning: Function parameter or member 'vcpu_info' not described in 'get_pi_vcpu_info' arch/x86/kvm/svm/avic.c:1009: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Signed-off-by: ChenXiaoSong --- arch/x86/kvm/svm/avic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/svm/avic.c b/arch/x86/kvm/svm/avic.c index 0e62e6a2438c..5e7e920113f3 100644 --- a/arch/x86/kvm/svm/avic.c +++ b/arch/x86/kvm/svm/avic.c @@ -221,7 +221,7 @@ static u64 *avic_get_physical_id_entry(struct kvm_vcpu *vcpu, return &avic_physical_id_table[index]; } -/** +/* * Note: * AVIC hardware walks the nested page table to check permissions, * but does not use the SPA address specified in the leaf page @@ -764,7 +764,7 @@ static int svm_ir_list_add(struct vcpu_svm *svm, struct amd_iommu_pi_data *pi) return ret; } -/** +/* * Note: * The HW cannot support posting multicast/broadcast * interrupts to a vCPU. So, we still use legacy interrupt @@ -1005,7 +1005,7 @@ void avic_vcpu_put(struct kvm_vcpu *vcpu) WRITE_ONCE(*(svm->avic_physical_id_cache), entry); } -/** +/* * This function is called during VCPU halt/unhalt. */ static void avic_set_running(struct kvm_vcpu *vcpu, bool is_run) -- 2.25.4