Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp185873imw; Wed, 13 Jul 2022 22:41:31 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uyHBJZgakDPq6iIyisgdvLR0yWwDfVpO/5kKpYFR5xCp4insAi+4vwVikEOpP27zpzTeZg X-Received: by 2002:a05:6402:4396:b0:43a:77b5:41f7 with SMTP id o22-20020a056402439600b0043a77b541f7mr9728819edc.45.1657777291447; Wed, 13 Jul 2022 22:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657777291; cv=none; d=google.com; s=arc-20160816; b=u4U6YFVK6ASUvli+sOEVNwHxgmy1/QwOXhSvRHEVHVVgx4/vvDU91h6d8SP74rD80M 6HDvVKGEeWY/m7jgSWkItpJ2P6pOG8EROI+YWZFn+9XJRNxruJzIzuKW2UA0Pdg31vbf u6GviDk670Hb7/DsQPSUKgNkoLHz1OiaPuHIw41Y35nzrpa4akbcJM0PIk1buWzzDU1U y4POLZnqVbAZRrwf6XlY8gqV+G+1KojAfpBm+/2xVk6zqsWd+hic165EGZAXJVcFDprm 1DomrPDJFl7JQqemygr5i6yAmZZmhNJpsqRHJ14qhXm4G8L4ijTaPUQ5/LMH4EMsv27r cHRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=+u10mo25XrA2/XnZBWguLWp6zh1YKoWA4kRSghoCECc=; b=fLBx6ZM7P35xQZ5T2rTfCGw3FJnf6YEpB7vh4VCSX4mFZpwRll8siBDVS7qfpzKuak WD1e3g5AKJvA0Nl4CmaEFoEhUahhut37aIQgsk6A+IPp9+SMuP0OjG0Y7Z0H4jSlpc5b HcY9xFi5DfbTMcMi7YhARJrgKVus03aPryTpzC88dhLBpKFFEHcn/bLTpQLZ+H4zZbf3 /GIa3ya4xVoLkYewlITwg/LGpFuc+i8MzuLPtflblnoZdFeVuARAslsFYCdvgo2gKLfs hufoSI5SsMPx1Ija8a/6uppvb7OtsqZTGq7C9QqWk5Z0MyWewCg/vBb97wTLlULX3Tsi gPLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FaWN+UQ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e19-20020aa7d7d3000000b0043a1cf26ed1si948688eds.59.2022.07.13.22.41.06; Wed, 13 Jul 2022 22:41:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FaWN+UQ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237711AbiGNE6g (ORCPT + 99 others); Thu, 14 Jul 2022 00:58:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232139AbiGNE6E (ORCPT ); Thu, 14 Jul 2022 00:58:04 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08A5A29830 for ; Wed, 13 Jul 2022 21:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657774021; x=1689310021; h=date:from:to:cc:subject:message-id:reply-to:references: mime-version:in-reply-to; bh=tQabWDHm5mUWj7HdtljK3PgAxXDNA1HKUQKgEYI3PlE=; b=FaWN+UQ03ucoGDoiT+oVhoET4W/oSnwPf/A1jm8clayTg+1ChA0C4q6P s7+xch6tq8KbDWYM8928nnnIxB1E0qcy0nhoBnCbyf+H2l7ZCczmzCjMr Y1qOMx3DcCbCve8ZnNOOhEWX3RoDm0MtLjBVG505jIQLwYSm1XLuNRYZZ jVQb799AS+b/15VAu6Eu25MGeROC8Qg4PxmLvtPWyeaTi4fEiFwxQ32xf GNtOUeZaFIdOrT3yA+sVUcFc7vvWP4+xNTfYbMw+jYFujwb72uB98+eiX eKJY282xbiEm5FWgwvS8I2eGx9T5sDnh/o2caRmVhlKItZ5yAO4pJ5SIA g==; X-IronPort-AV: E=McAfee;i="6400,9594,10407"; a="284170448" X-IronPort-AV: E=Sophos;i="5.92,269,1650956400"; d="asc'?scan'208";a="284170448" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2022 21:47:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,269,1650956400"; d="asc'?scan'208";a="599992536" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.159.108]) by fmsmga007.fm.intel.com with ESMTP; 13 Jul 2022 21:46:57 -0700 Date: Thu, 14 Jul 2022 12:23:26 +0800 From: Zhenyu Wang To: Mauro Carvalho Chehab Cc: Daniel Vetter , David Airlie , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , Zhenyu Wang , Zhi Wang , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 07/39] drm/i915: gvt: fix kernel-doc trivial warnings Message-ID: <20220714042326.GY1089@zhen-hp.sh.intel.com> Reply-To: Zhenyu Wang References: <375c0c0ca2ef414f25e14f274457f77373a9268d.1657699522.git.mchehab@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CCAbHT5wTCfICpGW" Content-Disposition: inline In-Reply-To: <375c0c0ca2ef414f25e14f274457f77373a9268d.1657699522.git.mchehab@kernel.org> X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --CCAbHT5wTCfICpGW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2022.07.13 09:11:55 +0100, Mauro Carvalho Chehab wrote: > Some functions seem to have been renamed without updating the kernel-doc > markup causing warnings. Also, struct intel_vgpu_dmabuf_obj is not > properly documented, but has a kerneld-doc markup. >=20 > Fix those warnings: > drivers/gpu/drm/i915/gvt/aperture_gm.c:308: warning: expecting prototype= for inte_gvt_free_vgpu_resource(). Prototype was for intel_vgpu_free_resou= rce() instead > drivers/gpu/drm/i915/gvt/aperture_gm.c:344: warning: expecting prototype= for intel_alloc_vgpu_resource(). Prototype was for intel_vgpu_alloc_resour= ce() instead > drivers/gpu/drm/i915/gvt/cfg_space.c:257: warning: expecting prototype f= or intel_vgpu_emulate_cfg_read(). Prototype was for intel_vgpu_emulate_cfg_= write() instead > drivers/gpu/drm/i915/gvt/dmabuf.h:61: warning: Function parameter or mem= ber 'vgpu' not described in 'intel_vgpu_dmabuf_obj' > drivers/gpu/drm/i915/gvt/dmabuf.h:61: warning: Function parameter or mem= ber 'info' not described in 'intel_vgpu_dmabuf_obj' > drivers/gpu/drm/i915/gvt/dmabuf.h:61: warning: Function parameter or mem= ber 'dmabuf_id' not described in 'intel_vgpu_dmabuf_obj' > drivers/gpu/drm/i915/gvt/dmabuf.h:61: warning: Function parameter or mem= ber 'kref' not described in 'intel_vgpu_dmabuf_obj' > drivers/gpu/drm/i915/gvt/dmabuf.h:61: warning: Function parameter or mem= ber 'initref' not described in 'intel_vgpu_dmabuf_obj' > drivers/gpu/drm/i915/gvt/dmabuf.h:61: warning: Function parameter or mem= ber 'list' not described in 'intel_vgpu_dmabuf_obj' > drivers/gpu/drm/i915/gvt/handlers.c:3066: warning: expecting prototype f= or intel_t_default_mmio_write(). Prototype was for intel_vgpu_default_mmio_= write() instead > drivers/gpu/drm/i915/gvt/mmio_context.c:560: warning: expecting prototyp= e for intel_gvt_switch_render_mmio(). Prototype was for intel_gvt_switch_mm= io() instead > drivers/gpu/drm/i915/gvt/page_track.c:131: warning: expecting prototype = for intel_vgpu_enable_page_track(). Prototype was for intel_vgpu_disable_pa= ge_track() instead > drivers/gpu/drm/i915/gvt/vgpu.c:215: warning: expecting prototype for in= tel_gvt_active_vgpu(). Prototype was for intel_gvt_activate_vgpu() instead > drivers/gpu/drm/i915/gvt/vgpu.c:230: warning: expecting prototype for in= tel_gvt_deactive_vgpu(). Prototype was for intel_gvt_deactivate_vgpu() inst= ead > drivers/gpu/drm/i915/gvt/vgpu.c:358: warning: expecting prototype for in= tel_gvt_destroy_vgpu(). Prototype was for intel_gvt_destroy_idle_vgpu() ins= tead >=20 > Signed-off-by: Mauro Carvalho Chehab > --- >=20 > To avoid mailbombing on a large number of people, only mailing lists were= C/C on the cover. > See [PATCH v2 00/39] at: https://lore.kernel.org/all/cover.1657699522.git= =2Emchehab@kernel.org/ >=20 > drivers/gpu/drm/i915/gvt/cfg_space.c | 2 +- > drivers/gpu/drm/i915/gvt/dmabuf.h | 2 +- > drivers/gpu/drm/i915/gvt/page_track.c | 2 +- > drivers/gpu/drm/i915/gvt/vgpu.c | 6 +++--- > 4 files changed, 6 insertions(+), 6 deletions(-) >=20 > diff --git a/drivers/gpu/drm/i915/gvt/cfg_space.c b/drivers/gpu/drm/i915/= gvt/cfg_space.c > index dad3a6054335..a0fc6d356588 100644 > --- a/drivers/gpu/drm/i915/gvt/cfg_space.c > +++ b/drivers/gpu/drm/i915/gvt/cfg_space.c > @@ -243,7 +243,7 @@ static void emulate_pci_bar_write(struct intel_vgpu *= vgpu, unsigned int offset, > } > =20 > /** > - * intel_vgpu_emulate_cfg_read - emulate vGPU configuration space write > + * intel_vgpu_emulate_cfg_write - emulate vGPU configuration space write > * @vgpu: target vgpu > * @offset: offset > * @p_data: write data ptr > diff --git a/drivers/gpu/drm/i915/gvt/dmabuf.h b/drivers/gpu/drm/i915/gvt= /dmabuf.h > index 5f8f03fb1d1b..3dcdb6570eda 100644 > --- a/drivers/gpu/drm/i915/gvt/dmabuf.h > +++ b/drivers/gpu/drm/i915/gvt/dmabuf.h > @@ -48,7 +48,7 @@ struct intel_vgpu_fb_info { > struct intel_vgpu_dmabuf_obj *obj; > }; > =20 > -/** > +/* > * struct intel_vgpu_dmabuf_obj- Intel vGPU device buffer object > */ > struct intel_vgpu_dmabuf_obj { > diff --git a/drivers/gpu/drm/i915/gvt/page_track.c b/drivers/gpu/drm/i915= /gvt/page_track.c > index 3375b51c75f1..df34e73cba41 100644 > --- a/drivers/gpu/drm/i915/gvt/page_track.c > +++ b/drivers/gpu/drm/i915/gvt/page_track.c > @@ -120,7 +120,7 @@ int intel_vgpu_enable_page_track(struct intel_vgpu *v= gpu, unsigned long gfn) > } > =20 > /** > - * intel_vgpu_enable_page_track - cancel write-protection on guest page > + * intel_vgpu_disable_page_track - cancel write-protection on guest page > * @vgpu: a vGPU > * @gfn: the gfn of guest page > * > diff --git a/drivers/gpu/drm/i915/gvt/vgpu.c b/drivers/gpu/drm/i915/gvt/v= gpu.c > index 46da19b3225d..8e71cda19995 100644 > --- a/drivers/gpu/drm/i915/gvt/vgpu.c > +++ b/drivers/gpu/drm/i915/gvt/vgpu.c > @@ -205,7 +205,7 @@ static void intel_gvt_update_vgpu_types(struct intel_= gvt *gvt) > } > =20 > /** > - * intel_gvt_active_vgpu - activate a virtual GPU > + * intel_gvt_activate_vgpu - activate a virtual GPU > * @vgpu: virtual GPU > * > * This function is called when user wants to activate a virtual GPU. > @@ -219,7 +219,7 @@ void intel_gvt_activate_vgpu(struct intel_vgpu *vgpu) > } > =20 > /** > - * intel_gvt_deactive_vgpu - deactivate a virtual GPU > + * intel_gvt_deactivate_vgpu - deactivate a virtual GPU > * @vgpu: virtual GPU > * > * This function is called when user wants to deactivate a virtual GPU. > @@ -348,7 +348,7 @@ struct intel_vgpu *intel_gvt_create_idle_vgpu(struct = intel_gvt *gvt) > } > =20 > /** > - * intel_gvt_destroy_vgpu - destroy an idle virtual GPU > + * intel_gvt_destroy_idle_vgpu - destroy an idle virtual GPU > * @vgpu: virtual GPU > * > * This function is called when user wants to destroy an idle virtual GP= U. > --=20 Acked-by: Zhenyu Wang Thanks! I'll put in queue with other gvt fixes. --CCAbHT5wTCfICpGW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTXuabgHDW6LPt9CICxBBozTXgYJwUCYs+aNAAKCRCxBBozTXgY J9jlAJ0SBHiGlVnl69HpQC7DoBtaBEcTKwCaA5E4YFCilATJ34RgabNyuY5uV0U= =ZLap -----END PGP SIGNATURE----- --CCAbHT5wTCfICpGW--