Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 538A2C433EF for ; Mon, 22 Nov 2021 20:34:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240511AbhKVUht (ORCPT ); Mon, 22 Nov 2021 15:37:49 -0500 Received: from mail-dm6nam10on2077.outbound.protection.outlook.com ([40.107.93.77]:8096 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S240522AbhKVUhL (ORCPT ); Mon, 22 Nov 2021 15:37:11 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cWmm/seV+jg3yfwBz3aP8aH+F/6y4StrHLgZA59IqKTGdGBCoZJphGrrW5N3K8rhoprhKaQKVdavz6wHutgDGl41fmQz/7JXrUzipl13MT+EjJkdG3UtJWGJUsVQS9dYeoGmJbMECYwhIHbFPJga2d/OBqP6ZQFnrajVmGwIghGYNLgZ6pNH8+Fotc9jpWZwa/glilwTPUr9aZntyCnlrK3qszcmvhdECchKfTO8TFQhqhT+o7yrMpzbnuH4E9z5VwskE87H5DCqQMDO5ijcG0PXiGnpL4DEhai/Q+Q1e448osU5AZEFUpQqrI3sT4Z6sIRR9cnJNlb6XiMdtQlsmw== 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=h1iN0ItMREgQjIIwzvIWVq1bIIKuxj1dlg6WoytN5bE=; b=KIeSBuDjOZcMQwPR6a4dGoGD7JgaNDgAByd6LrecXmgP/SeXDYbRc0SelwqstXX/iHKT9VBKPRj+DVWkVlgD3yj17OxdiYnP50bzR7NnwIV4EMQlq3DhiSN57XVEfmwOUIGI+tZvzFr9gds43jwgBsDEA8x+AddrOWI0Fm3rW4tXoctkQ8YEZoxF9w5Az9wuZRUxXWhAeAYi3WQWSG/6sx3y8NmSOuDHZ5yhxu6HxENKhEKUiGUPID+0gSCDLIuki66QoW7S+N5YOJaUWaQ/WhieT5VHNY/DdU/OTz5i2+y/kEcmFipWX2cioQZjA/ZmhEHoQjaNXPun7cvH7k/6Aw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h1iN0ItMREgQjIIwzvIWVq1bIIKuxj1dlg6WoytN5bE=; b=McecedliWIl7jUyzKIEG2Y72tnM6g0R3BG47QRZe96n8nbGMXs6V/SbMAnw7qtpVzIaUbXEjig+h/r+L2QNMFuVE10ma0u5858NrtdiR5SDZ62FY6gLS81pEsL9A5WSpJ+z3BmWDeC8cvZ+d6rrjyNOI+0KE4u3jy5weCfKJSeA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MWHPR1201MB0192.namprd12.prod.outlook.com (2603:10b6:301:5a::14) by MWHPR12MB1774.namprd12.prod.outlook.com (2603:10b6:300:112::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Mon, 22 Nov 2021 20:34:01 +0000 Received: from MWHPR1201MB0192.namprd12.prod.outlook.com ([fe80::2d02:26e7:a2d0:3769]) by MWHPR1201MB0192.namprd12.prod.outlook.com ([fe80::2d02:26e7:a2d0:3769%5]) with mapi id 15.20.4713.025; Mon, 22 Nov 2021 20:34:01 +0000 Subject: Re: [PATCH] drm: ttm: correct ttm_range_manager kernel-doc notation To: Huang Rui , Randy Dunlap Cc: "linux-kernel@vger.kernel.org" , kernel test robot , "dri-devel@lists.freedesktop.org" References: <20211121155453.29736-1-rdunlap@infradead.org> From: =?UTF-8?Q?Christian_K=c3=b6nig?= Message-ID: Date: Mon, 22 Nov 2021 21:33:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-ClientProxiedBy: AM5PR0201CA0015.eurprd02.prod.outlook.com (2603:10a6:203:3d::25) To MWHPR1201MB0192.namprd12.prod.outlook.com (2603:10b6:301:5a::14) MIME-Version: 1.0 Received: from [IPv6:2a02:908:1252:fb60:9825:a518:b616:5ab2] (2a02:908:1252:fb60:9825:a518:b616:5ab2) by AM5PR0201CA0015.eurprd02.prod.outlook.com (2603:10a6:203:3d::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19 via Frontend Transport; Mon, 22 Nov 2021 20:33:59 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c9f14d3c-ea96-4172-776f-08d9adf76a85 X-MS-TrafficTypeDiagnostic: MWHPR12MB1774: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vox2Q3rIxwDWHsTeLwr1loIAkPQiBc6RuZYxSn1PZLwdydZGEwW1U4zkHwUxVlaoY5Ggi5AfuJI/JeWcBr+JcRWjSS+ChbbOeKwBm8jDH9BAojY2hKNpPpI04o8h/qJ9L77llG42GmRJL5uvPuAPmFNCblGPo9xJsVbn2oZpuI8tJ0qjGU9IcgT0167b2iygdWRY9SofiPvMaX1PLnwVi0+EL6atMBR3N1rexl3Wk2RfbSVLKfMo/iVbIaed8FSlhBu2CSug+pATOgi5BBWbq0YgUj2r26feoaAmzvIAg+DpAeaso7/WKMRqYtqaQeX6aEGXwmamPsHDuTyPJD9sUpSuhNpkofZdSHUY/NdCL3DBEtcxLWuakgnA/37e3pxikxACKrbFSCj6FC68r9kQilFLymlubbeB91ojJE35jEZ4gATcS1LHHOCiNpsvRa8iJ5q5zZGLidKfwBNMHNnmXNoISltPcwLJrIxSBb856Wtfz82Jd+ozXXJVrEYjsX8ljYrH8QNzMNDRcjJsu1Mw4g5n4NZuCpwZ0yEJFkmjcfVldWoiQfg5yCqEA1/srJh40TMqwmej/AN4lsY8briqgXI5WED7G3IiT1x6wfHAB9HBi/+wriA+bgZnaQb19RAuS8t5Xc2V40C7K170/PuYPINQ+AysfM7IU962RH10WEA4HRsTAfmEP1QPyVuEpEXv0K4RuKWYPpkMCDLbFiJi5lswc4BNCPFt7qIVV4WXW0VVkqABZowGSrCQNEb9SOajO8iAdES0T2daY/SnxIYBxTWc+TElaU/CHJuP4YmjA5BlCRXbPj+s4hkW938ORzLy X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1201MB0192.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(38100700002)(86362001)(2616005)(66574015)(84970400001)(186003)(54906003)(6486002)(6666004)(508600001)(83380400001)(110136005)(5660300002)(36756003)(2906002)(66476007)(4326008)(8676002)(31686004)(66946007)(66556008)(8936002)(316002)(31696002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MlN5bVY0UWt1bGo2cWtCVk5DalI5MW5IZnp4bi9BNStoZ2VxeVRKSHM2eHly?= =?utf-8?B?d1ZEZE9OaThDM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4dGtFYzJmWFExUnM2?= =?utf-8?B?ZzNTL0FpSTZPRHZSM3VRVmVRMFFETnNVOFdDeHlFWXhhbTR5T05uVVpDSFpz?= =?utf-8?B?UEpTbVJLTmdYWVVhNXFPVk9KOU9MNlFIKzZGR1Y5cHdVY0FmVkJEUDZ1bzl3?= =?utf-8?B?VkZDME1naWh2R3k4YUNsY3N1blZKYkVZNGd2QjhIVlI5MmtsZHREeE1WUDl0?= =?utf-8?B?M3NNQk9XTUZZN1NLZkhPRlVRVmdnTTUycHNZcVMwSEI1NTBiT1R6SkorOFF1?= =?utf-8?B?eURSb0tGR1ozRHVua3ZHOWxZM3ZVNTFjakc0MnpiTU9LTVRrRFA5bmNCMkwv?= =?utf-8?Q?AdxHmuq4crupJFwrxrfXoZ4=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: c9f14d3c-ea96-4172-776f-08d9adf76a85 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1201MB0192.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2021 20:34:01.1981 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yRrY4FViXTVn5I1bNu/2lb0Fur3xx3u49vgS0NmNzZfC9e37DilosGh8eMk+//kt X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1774 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 22.11.21 um 04:14 schrieb Huang Rui: > On Sun, Nov 21, 2021 at 11:54:52PM +0800, Randy Dunlap wrote: >> Fix kernel-doc warnings in ttm_range_manager.c: >> >> drivers/gpu/drm/ttm/ttm_range_manager.c:144: warning: expecting prototype for ttm_range_man_init(). Prototype was for ttm_range_man_init_nocheck() instead >> drivers/gpu/drm/ttm/ttm_range_manager.c:178: warning: expecting prototype for ttm_range_man_fini(). Prototype was for ttm_range_man_fini_nocheck() instead >> >> Also fix subsequent warnings from scripts/kernel-doc. >> >> Signed-off-by: Randy Dunlap >> Reported-by: kernel test robot >> Cc: Christian König >> Cc: Huang Rui >> Cc: dri-devel@lists.freedesktop.org > Reviewed-by: Huang Rui Reviewed-by: Christian König and pushed to drm-misc-next. Thanks for the help, Christian. > >> --- >> drivers/gpu/drm/ttm/ttm_range_manager.c | 11 +++++++---- >> 1 file changed, 7 insertions(+), 4 deletions(-) >> >> --- linux-next-20211118.orig/drivers/gpu/drm/ttm/ttm_range_manager.c >> +++ linux-next-20211118/drivers/gpu/drm/ttm/ttm_range_manager.c >> @@ -128,15 +128,17 @@ static const struct ttm_resource_manager >> }; >> >> /** >> - * ttm_range_man_init >> + * ttm_range_man_init_nocheck - Initialise a generic range manager for the >> + * selected memory type. >> * >> * @bdev: ttm device >> * @type: memory manager type >> * @use_tt: if the memory manager uses tt >> * @p_size: size of area to be managed in pages. >> * >> - * Initialise a generic range manager for the selected memory type. >> * The range manager is installed for this device in the type slot. >> + * >> + * Return: %0 on success or a negative error code on failure >> */ >> int ttm_range_man_init_nocheck(struct ttm_device *bdev, >> unsigned type, bool use_tt, >> @@ -166,12 +168,13 @@ int ttm_range_man_init_nocheck(struct tt >> EXPORT_SYMBOL(ttm_range_man_init_nocheck); >> >> /** >> - * ttm_range_man_fini >> + * ttm_range_man_fini_nocheck - Remove the generic range manager from a slot >> + * and tear it down. >> * >> * @bdev: ttm device >> * @type: memory manager type >> * >> - * Remove the generic range manager from a slot and tear it down. >> + * Return: %0 on success or a negative error code on failure >> */ >> int ttm_range_man_fini_nocheck(struct ttm_device *bdev, >> unsigned type)