Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1213785imw; Wed, 13 Jul 2022 15:58:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vKtLq7lSYUFLePCSdsTt32VX1NABAeAWi4G5mwCX65s2936WbD6yM4jCRZ4w6nH9KE7imf X-Received: by 2002:a17:902:7e47:b0:16c:7115:84d6 with SMTP id a7-20020a1709027e4700b0016c711584d6mr5362651pln.93.1657753093415; Wed, 13 Jul 2022 15:58:13 -0700 (PDT) Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u191-20020a6385c8000000b004160a070348si12622465pgd.17.2022.07.13.15.58.00; Wed, 13 Jul 2022 15:58:13 -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="LE/w71d1"; arc=fail (signature failed); 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 S236827AbiGMWDG (ORCPT + 99 others); Wed, 13 Jul 2022 18:03:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231477AbiGMWDE (ORCPT ); Wed, 13 Jul 2022 18:03:04 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E60C31218 for ; Wed, 13 Jul 2022 15:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657749784; x=1689285784; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=5DZ0T+GH+S+Iua4Yd3hVKJGGleI8tlgHshCc9cYBPpY=; b=LE/w71d1ZOaj90MxYd0193rKrVZm6M2OW3c5ABLryGAXx1llJVGB+mh1 /fQiSIPfJDQUS2xbWy6od74wVaMMU4mwzaPQCZzGqTxqnAq8NFcXgZeKy pUp9I6y7wXZFjR8xfxKQ+6/ZaUPkrT3fmaTExd3XM+YZwRGl9CgfASCVp 2BAwMNngrOELQuhl0gMiD48SsksAdZN1JQWOSKErp54TXxwh4jgonZcDH LwHAIutrUwk/LcLTnGifPMUEd0mLw91l1kTRZtX/sDDilMNtukE2ZwgH3 tAEvppUmFy+bMcASMMI5JanLMkw01Q2zhcr/clrunjrQV2JoLLm4D7Uxz g==; X-IronPort-AV: E=McAfee;i="6400,9594,10407"; a="286099161" X-IronPort-AV: E=Sophos;i="5.92,269,1650956400"; d="scan'208";a="286099161" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2022 15:03:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,269,1650956400"; d="scan'208";a="653593231" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga008.fm.intel.com with ESMTP; 13 Jul 2022 15:03:03 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 13 Jul 2022 15:03:02 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 13 Jul 2022 15:03:02 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Wed, 13 Jul 2022 15:03:02 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Wed, 13 Jul 2022 15:03:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ONUBg/qjpSdESR2q11b9h4/56TGT/C+nRrdHfpqXuYQehx5jNS619t1M6hBnHjMsVJNw0EgRHIVrRSu41/zkIj7GjdNdUMvcANzPfjfu/JeVmSXvGqUPqS6taelNRWuGetLJO9OIU3C452gUgTTtM0JbH13YIwg8eMhFmNnylZ0uMEPJ9DrB11LjTDSxztTUnf5NFRv8wP8oPdvbmwPBXVdzEJQUUxQAnKhS0pM7N848VZIKryt85NBPcsiD/ZlxH+xvqYeXnDU1sVbkvXnvAsIRMpJ1wM4OKtN0pMqjNzzw9gcUQdJR2fCzUJiUA9tE5r1frRbiVVFUxyZlBUL8aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MDbghXFJbEounZs66IPkjkkt8IIolV+0IcbQ4MO6Qtc=; b=FOVGSeo5MCm5eDaoNUOej/VVf66vKJcCO7eDkJv3Gp5fLvVijBeJaBMznCLZ0PzEadPzXfr0/kLTlUIn2IogxM4ZDaPBrSA3Z7baIevWmzcmw5FLnc7jYGvAg7nwYo0+l8wzOgkF+kp1CYA4SmRiJSAGDWeI70GtqflBxx0I09D+SEZtjUXFXgQZAOFmG7ZAQDTXQHHiJ/VVWhw9HD4tsvJ0ZVGRuPdGDzrMwT0rRQB0B31cr8gZUCTWj2c/CSg1SfbPQxeU8mjZHIP7Ut0x+G+8FQNpWtnG3lQGO0RzIAqFw3bpJWHbzLOwX6P3T2CYRjx3bndP92ow8sIHPgNa2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MN0PR11MB6059.namprd11.prod.outlook.com (2603:10b6:208:377::9) by CY4PR11MB1495.namprd11.prod.outlook.com (2603:10b6:910:c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.20; Wed, 13 Jul 2022 22:02:55 +0000 Received: from MN0PR11MB6059.namprd11.prod.outlook.com ([fe80::8053:3c59:9f5d:b615]) by MN0PR11MB6059.namprd11.prod.outlook.com ([fe80::8053:3c59:9f5d:b615%9]) with mapi id 15.20.5417.026; Wed, 13 Jul 2022 22:02:55 +0000 Date: Wed, 13 Jul 2022 18:02:49 -0400 From: Rodrigo Vivi To: Mauro Carvalho Chehab CC: Jiapeng Chong , Tvrtko Ursulin , David Airlie , , Abaci Robot , , , , Zhi Wang Subject: Re: [PATCH v2 03/39] drm/i915/gvt: Fix kernel-doc for intel_vgpu_*_resource() Message-ID: References: <4801d75e6c43c83fd5bba13bea3885da7b66fa9c.1657699522.git.mchehab@kernel.org> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <4801d75e6c43c83fd5bba13bea3885da7b66fa9c.1657699522.git.mchehab@kernel.org> X-ClientProxiedBy: BYAPR08CA0003.namprd08.prod.outlook.com (2603:10b6:a03:100::16) To MN0PR11MB6059.namprd11.prod.outlook.com (2603:10b6:208:377::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fbdf536a-2347-49a4-c690-08da651b7030 X-MS-TrafficTypeDiagnostic: CY4PR11MB1495:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZVn4m9IpIcY9WFbZNliD/Hw+fzvX+9k/glf8N1LCXlp/ypUGSBKc/e4suRMnkvkYqB0O/OWHunyrvvsiBS+jwlja55FNLAXAvzMM59li5GefvTkfZJWQhGL321aCPYmon9x8MgT5XSSU6aymqm2iCN4UzD29Hzw1Q2YXiiS/qGksMbT1BCMtXRLdClUhOc9JvUzHL5lBFuuzR+A1pBBNSZBx2lJ7X0R3G/1ya3em/ECWd22QqHDFw++y0CvJriwfs8edOv50RmgXaUiDHdxMx8HsskvhCxwHuQr6wte8glHuWnbL2yeVEU2/zvT9YGBih07P116GvsdPXdRN+zDK3UoRO2+gX6T97q23J8rTBZzP3xF1yXukMI+6Vp/abpvhMSuuIYyAna1rDk6DJPZW99E+EXxASqgvuuoFjWMF0ImiyZ65hfD0uanQl0PFjsLNX50da0otAc6PXv134JnE+kyr/jvOsuSlpKIax8yzX9ZgAZm6R7qimrtcDXqRvT6tKdQH/0zJzQB/9ODVPejeR8tIbciu3tCJgowPmuCbuQI+UknNZUEiqvCDXaeLCIQoA6R7orpeQsvDztZmnqySGWxUNswSVuHSOWpzSJSoxm6RZDeZA/dDFVv/kwIfIaNOjMNozKDgFLRtZsGEQOhMUuoHwuxJoJbOFWchhFkDagHpTHj5ssHrT15qk2yYPp2DjafdQ/uSzSseb3hEY1kIYNc+9E+x9sp4eecEnGx+fcCKQXan9DPReDqdhC+KGFFJ+8jdDEwY0/iTdO1SHqP6qyzDVeXGnZRdPyNYkxEG1bc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN0PR11MB6059.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(39860400002)(136003)(366004)(376002)(396003)(346002)(316002)(54906003)(41300700001)(8676002)(4326008)(38100700002)(66946007)(82960400001)(66476007)(66556008)(26005)(83380400001)(6506007)(6512007)(44832011)(478600001)(186003)(6666004)(966005)(86362001)(2616005)(6916009)(6486002)(2906002)(5660300002)(36756003)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?1h4TqVJL/vAf88o0T2leJOjS0DuGfo3wIQt2nsLuepdIgzvs9PBq+qFI7ZdB?= =?us-ascii?Q?mlE1ilNRAHyIFAn7TezhOCdaoL9Kxjx8JzoZjrWVk2/SBoRtwyo4RF600vfA?= =?us-ascii?Q?6L11qn9MqGMEKhsQnhZjCZ9ZqU/c20tO0GQdXptOFISynIKnkbKlGcB7f1CQ?= =?us-ascii?Q?2RHLQNGWjDUHpS+9DNGaLS2x1IIVZzQIvLN9ez1tUWYsB46myhyzHa4SqcPN?= =?us-ascii?Q?FQBGwopJUY24tAhta+yp353Xpz2FYeR+EOJgHWdAcvwIktZM1EByi9kZjH7o?= =?us-ascii?Q?nJbClzMAOIAtHsTJmWyEILDS20qJFpDX/RWxHNsF4ob44htKoOLZVO8VYsw8?= =?us-ascii?Q?tFWxMSl7u2agPzP+spUfAOUckTOWimkR9U/9H86ljDkTIPLMcWz957pOPHvm?= =?us-ascii?Q?O4hVLtcsp2gDGcQkasipKKleJS8rFYL2S2dSbX+BB9iLycW9LXFnGKdK+E/m?= =?us-ascii?Q?U9c848MHH+AWxwLIyPnrTP8Ys+73uBBR42NtY7ERHvARddR5azjEOw62C81J?= =?us-ascii?Q?iazAJ3qw8I6U1nUOLIN8D99DWBwkDrC9iBhn4scZud3/sTB5zwDjnYRGaHGA?= =?us-ascii?Q?Bjgusp2UtB53GLK7HrTtp5KTIsHycsfZJkPi2uENHXfouPNInxga5uLANK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Jn8j2AwvAyzlikhP5w9?= =?us-ascii?Q?4QubuD55Fot8DRLFtXpFb1AHcQQ3duzQwtz+1Hg6cx3Goo2F4lPjDhZLO0Pm?= =?us-ascii?Q?dA=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: fbdf536a-2347-49a4-c690-08da651b7030 X-MS-Exchange-CrossTenant-AuthSource: MN0PR11MB6059.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2022 22:02:55.1019 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: plXWXR0SCn0c6yDEJ3m1WGpW/mxpPblUOBA/Y4AufxE3BkKB7wc1hUuQZfNGt/9FoSXhkuGtc6DMrpMs11FkQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1495 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 On Wed, Jul 13, 2022 at 09:11:51AM +0100, Mauro Carvalho Chehab wrote: > From: Jiapeng Chong > > Fix the following W=1 kernel 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_resource() instead. > > drivers/gpu/drm/i915/gvt/aperture_gm.c:344: warning: expecting prototype > for intel_alloc_vgpu_resource(). Prototype was for > intel_vgpu_alloc_resource() instead. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > Acked-by: Zhenyu Wang > Signed-off-by: Mauro Carvalho Chehab > --- > > 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.mchehab@kernel.org/ > > drivers/gpu/drm/i915/gvt/aperture_gm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/i915/gvt/aperture_gm.c b/drivers/gpu/drm/i915/gvt/aperture_gm.c > index 557f3314291a..3b81a6d35a7b 100644 > --- a/drivers/gpu/drm/i915/gvt/aperture_gm.c > +++ b/drivers/gpu/drm/i915/gvt/aperture_gm.c > @@ -298,7 +298,7 @@ static int alloc_resource(struct intel_vgpu *vgpu, > } > > /** > - * inte_gvt_free_vgpu_resource - free HW resource owned by a vGPU > + * intel_vgpu_free_resource() - free HW resource owned by a vGPU with the consistency in the usage of "()" feel free to use Reviewed-by: Rodrigo Vivi > * @vgpu: a vGPU > * > * This function is used to free the HW resource owned by a vGPU. > @@ -328,7 +328,7 @@ void intel_vgpu_reset_resource(struct intel_vgpu *vgpu) > } > > /** > - * intel_alloc_vgpu_resource - allocate HW resource for a vGPU > + * intel_vgpu_alloc_resource() - allocate HW resource for a vGPU > * @vgpu: vGPU > * @param: vGPU creation params > * > -- > 2.36.1 >