Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp97095rdb; Wed, 17 Jan 2024 19:06:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IHoAfmO45Y7nlFuMgOmBUhZ3TNXWlMvfcbyn7CCzQCO2e8qK/D5yvfd8z3dL8U4Nl149Qwd X-Received: by 2002:a17:90a:c082:b0:28b:de50:b4a7 with SMTP id o2-20020a17090ac08200b0028bde50b4a7mr162212pjs.76.1705547186866; Wed, 17 Jan 2024 19:06:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705547186; cv=pass; d=google.com; s=arc-20160816; b=vB4LuSOrTmfa+axmJYGO2YlNWUsC91isIADBbIt3vTetmPVqXY+IjblUXwaXfbmfty Iexg20uU2qzUnlVIUKLEkOMWwKEEAd5RLVuRjPY4x7OEkJfOSWLBxR61OenvmI6pLidN +sY0ol85foUQXF1D+iBLcJ/RlZAfgClm+GUYQPWmHjFEQVY5G3DsImbQSQGsbZAb2ckE nSUT6+KvO6wqC2basEa2Ma6ORpVcrccupNaLjvLjSYAC6BuR/BxsPVFFwNHNZADVFvWi ufNBE7D6ldJAagRQAnDdzz1/fcC0mAQhWjIsA8/cSIFK5B+efeGOfgzAZ5S4uZXlfae4 yMpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ypndJ3q6jZFQH0yBwkGZzBndYEsmF1d2BBCzWXEQX3w=; fh=TuTJIK9Hfh8tZaYMtS0Npxgp4MlTi4TEneQ74odOfs4=; b=Umh4+qag/+GTKrTUYp7ndKjr8bNXAUB+r9hj71o5GVMhyH2bvpjfKV1pZTtlqyv+w4 hTkodeqj59BxDzhAnogo8UqcCofJvcuQHwTwog83sliHbs/w4ppUJvkZ217X6SDc3dS6 9yG1M4FP/GmqIgrnwVSSGmE+w5Nk98fZpWuCvUnxoh19+74TY4rERT9LXuNWK/EkJg2P r/e1005TbnbRaOScg2gJ6y41/ZV2ALJKThYYePOS3KJ/sGCt654U0/rMbyUWHC9AU1ZE BIuA80otHHAkwbnPsmTo/AB6vZV7jQyTroP9yWRvsfXles6o8bsZxAjD4Jph3/lCBQzg eR0g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=vukh56S4; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-29536-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29536-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c15-20020a17090ad90f00b0028db66f9ae9si685698pjv.84.2024.01.17.19.06.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 19:06:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29536-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=vukh56S4; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-29536-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29536-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E008328A999 for ; Wed, 17 Jan 2024 23:07:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0A5528DBC; Wed, 17 Jan 2024 23:07:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="vukh56S4" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C20322EFE; Wed, 17 Jan 2024 23:07:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705532841; cv=none; b=rdQIBAPwEBGdiL4gkbJWikBQYVSZPk7K2zih4tkqsR0OVN8euEwQ+53W0MTYKWj3zxX4twaUy6lgjLoXQHbaxMiTOH0ABt+3wJB0n3Ee57skMMnD5je2ItRN/8kE3Sr9bYMYhDyKWvUMRIZi6ITOcadef4Cvu+lHdRk7fXhNwWc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705532841; c=relaxed/simple; bh=qe4FjNte+EfV+SxIMOllnF2vE+IqSHEb4QBYlyFCKsw=; h=DKIM-Signature:Received:From:To:Cc:Subject:Date:Message-ID: X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; b=QRQSm5IGhuuDI9iP5rFe1ldILdOXBdttVYNgysbjjwPpdWxCrMwhhQJ9IZrXc2j5e6h25ddkZgCgCX10ZXobR7smy2SRjZof5nKPEPGBh5oYSxcJ+tnqL74MFpPWW08stpZym6lwx1dQU6X20C9Jwr2fDgjuHi2RvsArc0mrKHs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=vukh56S4; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=ypndJ3q6jZFQH0yBwkGZzBndYEsmF1d2BBCzWXEQX3w=; b=vukh56S447fwfDPuha9YigmbqP xSj28FnXgN2ji/AhU5njJCQrHUZXD7c2czNhmxmWTBmgs0rUxN7j6I+8+weQYQHM8KloLlg1BRX/O OE+lfxPBfWTWB6sPHlfx1tH9ABKq5PYWkCxxEmrHjpEojMumot9bai3FYKkW7Wg9ozrfFGI49tnn4 oyCbodzxiV6e66TB2CBkVYdEkkKFbReJavH3yrDrsS5Rwr/c5McMrwK+S/1JV0fPWSrIHt7ole8kV bTFg7BrOWIMMAXJSBUVl1PHvUhhPmXmctYj7VeToE+r+OfF86H3AuAgdWDX8laDmcGlzQ6mg45Ll8 gLBz2VZA==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rQF0A-0011su-15; Wed, 17 Jan 2024 23:07:18 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, Catalin Marinas , Will Deacon Subject: [PATCH 02/10] KVM: arm64: guest: fix kernel-doc warnings Date: Wed, 17 Jan 2024 15:07:06 -0800 Message-ID: <20240117230714.31025-3-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240117230714.31025-1-rdunlap@infradead.org> References: <20240117230714.31025-1-rdunlap@infradead.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix multiple function parameter descriptions to prevent warnings: guest.c:718: warning: Function parameter or struct member 'vcpu' not described in 'kvm_arm_num_regs' guest.c:736: warning: Function parameter or struct member 'vcpu' not described in 'kvm_arm_copy_reg_indices' guest.c:736: warning: Function parameter or struct member 'uindices' not described in 'kvm_arm_copy_reg_indices' arch/arm64/kvm/guest.c:915: warning: Excess function parameter 'kvm' description in 'kvm_arch_vcpu_ioctl_set_guest_debug' arch/arm64/kvm/guest.c:915: warning: Excess function parameter 'kvm_guest_debug' description in 'kvm_arch_vcpu_ioctl_set_guest_debug' Signed-off-by: Randy Dunlap Cc: Marc Zyngier Cc: Oliver Upton Cc: James Morse Cc: Suzuki K Poulose Cc: Zenghui Yu Cc: linux-arm-kernel@lists.infradead.org Cc: kvmarm@lists.linux.dev Cc: Catalin Marinas Cc: Will Deacon --- arch/arm64/kvm/guest.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff -- a/arch/arm64/kvm/guest.c b/arch/arm64/kvm/guest.c --- a/arch/arm64/kvm/guest.c +++ b/arch/arm64/kvm/guest.c @@ -711,6 +711,7 @@ static int copy_sve_reg_indices(const st /** * kvm_arm_num_regs - how many registers do we present via KVM_GET_ONE_REG + * @vcpu: the vCPU pointer * * This is for all registers. */ @@ -729,6 +730,8 @@ unsigned long kvm_arm_num_regs(struct kv /** * kvm_arm_copy_reg_indices - get indices of all registers. + * @vcpu: the vCPU pointer + * @uindices: register list to copy * * We do core registers right here, then we append system regs. */ @@ -902,8 +905,8 @@ int kvm_arch_vcpu_ioctl_translate(struct /** * kvm_arch_vcpu_ioctl_set_guest_debug - set up guest debugging - * @kvm: pointer to the KVM struct - * @kvm_guest_debug: the ioctl data buffer + * @vcpu: the vCPU pointer + * @dbg: the ioctl data buffer * * This sets up and enables the VM for guest debugging. Userspace * passes in a control flag to enable different debug types and