Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4243373rwb; Tue, 20 Sep 2022 10:48:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5sSvNejqNF+jo0wXhQvSxf9tjskcZ4J8WkmdLBJC1wbHzXLfTNkh8smSdLWaE8sX8viweB X-Received: by 2002:a05:6402:298e:b0:451:129e:1b35 with SMTP id eq14-20020a056402298e00b00451129e1b35mr20991696edb.79.1663696121036; Tue, 20 Sep 2022 10:48:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663696121; cv=pass; d=google.com; s=arc-20160816; b=zaiZS5N/3ac3jH6oKN/0qPNOQw2IgfEwRekHzRqrOaswCYCXVGTCBIDli+JlCW8aru 8A+FF+Ufa5GYz1PGwn2qefkhozUY9E+Pq2hjkYjwL1WrPYPfjhifYGc7OfiZ/hzMm6ja dOguPS9hW7TUigEXWKHmmj7ZsTe3IgLgLtM+g8hg33S/7PxX1KPJtFF4Ml8CbAgZvtE/ HZHDWea24Qkx0uYuRuO6knTcopg8+Lq9qC9wU0LOjgRnec57UBxaPWK0nOPPounNz52A xdxe3Wi6INDCJb1KDp7nzOUHgXvp1bqYHKD9qUryBbidfUr2bdBH3y82heFj5W9HaJB9 h/pQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=JW/BoRL6//WkNOJdR0ujFIOnkewLR6BAie6C2ZjBraM=; b=G2SmN+uHR4z1LotOSiI1qmlbeadzII3Y0j5z/XcRaKgxUdyojREYXRq02ERC3MhuhU Hds+XdVsDyvFxomwbe+fnLrXgRVzmyBAfkuoB12fGukpRaG6PrvK/hhiNzmM7sdc5pTY NmKz3oUpboOMBIJlLRs2ryshpXIp9XTGoSkKt7JiVEC9GQI9enC55hGIgHiK1ZEY6MKF i+qiOTw7rfcERjYVwQThn5rn40f07Tu3C1iqtRb3vi/K2d/p9p/GrfPuBwZeSbY1Psht gxCvR4l5xfr4jZXMT9KUHdZEcF12XGHruBj+w3GUnNvsgmVNVDaV4LBrvJQvwZxkcN2o aQuA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=e5NJIiGt; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ss17-20020a170907039100b0076ed46e4440si239919ejb.636.2022.09.20.10.48.15; Tue, 20 Sep 2022 10:48:41 -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=@amd.com header.s=selector1 header.b=e5NJIiGt; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229865AbiITRHN (ORCPT + 99 others); Tue, 20 Sep 2022 13:07:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230001AbiITRHL (ORCPT ); Tue, 20 Sep 2022 13:07:11 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2077.outbound.protection.outlook.com [40.107.92.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1CD756BA4 for ; Tue, 20 Sep 2022 10:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a+fYwxoMLVId2NyUF60QHSxvvdkyjpnTcBF8Z/quvSCDms08qkeF0lhyuIqXmWABUMbyhve3EljkSEN4L5AXCOy0MU44jA3918guDm9CjMA7DN8X9bQRKGDiiDkHqWDbQ3lPq/NKqM0oikcg5rtaG1RJrFJHFgKk/7QwWtfKF1fJh1YvEG0yyn4izFFKmk5BJzU7rWiUCX50yGn5FB2Nt8dXiZbEmkZHm0jmieHEyugxTZmRKWNUzoN0uYsO5VztzaGk8YhQhdfnbSVRqZ3xTNnQt22k+mprUWuZO8+GuwX9w3mHvu7S04kklVkCPSPsgz5JCDSMo4OWzvZz+3jhfA== 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=JW/BoRL6//WkNOJdR0ujFIOnkewLR6BAie6C2ZjBraM=; b=UrPRHNtu7ZdrCaWAjhdEQHMZMurVpUPzonNhV+Y1QvaX12xWmQOEltpxcRNlu/m1KbTGwGHuWqKJisSpVe6rOFWvQPusJX8+hbQGvracGqc87stXWr8HB593+VuABf6j8YezCsqILszkx0up08c3mFg302Wy/09GHHKO4kAxi6fdstq4X40M3YabPoAiQ2gME9+TxMT9/yHebepEKfQz2w65jh0LjqiIOMHmRGesj1gpZMcYzjzW+/+U/g3u5yxZsN0w6b/u0Gdx2vhva5dikGb8WjP8Uyp6zTajZt5XPU/JjXBBnaoHsX7n4xf5zVwU52r1VQaEv/1ZNdGkWc2v8Q== 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=JW/BoRL6//WkNOJdR0ujFIOnkewLR6BAie6C2ZjBraM=; b=e5NJIiGtgq8TbsiasT+5sj1VAuCuCFhP9tlF1ft8LMIblrLgfx2vfAXBcHcLx1KYgYqZrIO9RXlo6hdPk4fh55PSTWZb4YHUGdeGmh4w7VKO5rf2yA3wvcLPCcsAVDFGKRPgigMsJkridll92dP8bSraEStbhxwc4DEuNSrIzgk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM5PR12MB1947.namprd12.prod.outlook.com (2603:10b6:3:111::23) by PH0PR12MB5418.namprd12.prod.outlook.com (2603:10b6:510:e5::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.21; Tue, 20 Sep 2022 17:07:06 +0000 Received: from DM5PR12MB1947.namprd12.prod.outlook.com ([fe80::80ca:c97:d395:1acf]) by DM5PR12MB1947.namprd12.prod.outlook.com ([fe80::80ca:c97:d395:1acf%6]) with mapi id 15.20.5632.021; Tue, 20 Sep 2022 17:07:06 +0000 Message-ID: <52c849ad-2645-03c8-4907-07df6b2fc090@amd.com> Date: Tue, 20 Sep 2022 13:07:04 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2] A simple doc fix Content-Language: en-US To: Anup K Parikh , skhan@linuxfoundation.org, airlied@linux.ie, daniel@ffwll.ch Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: From: Andrey Grodzovsky In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: YT1PR01CA0040.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:2e::9) To DM5PR12MB1947.namprd12.prod.outlook.com (2603:10b6:3:111::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR12MB1947:EE_|PH0PR12MB5418:EE_ X-MS-Office365-Filtering-Correlation-Id: a52713d2-51b9-47dc-6de9-08da9b2a8baa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Md1SxmN6tzRx5svRrdKWuJFRskRnC6wRNZMpTn+w9IpRtuaplm87Cvn/gyesb+lFjwap7egymv4kNlq0YDDd0RKo2wFbP0meRINNl1xtr4no2llUbPwfkonpzo5SpE/KaDitdea9PzuZ1R8De0+e8LOoEAbbIioxt66rftlp9aeHC/BHeHkiwUZoUErq9S5ss/GYSa+myd9ps3ri3T7NETs/R+E1Zbu7o26bGxxb0JtFW0gz13KFDwBvFxGWhYcExxFVeux4pUo6bEpwhh1Cd+3LF2/PbW1oI1/3hJ9dLzubpUdOFrpBeD8DLHXn1pT54ML2SDZ8SMgLKqO3W0sPY43XjfGrByyax2gO0dh87Tiqx6lenHQtKcHE6bvmifH2wJWu2Apz8EGrKmav4hL8l5Ad6u743cwMzEXZsn+wRRg1emt2VjRjHOd4X7l4aPn5jEVBG1Z4ULrDKfS2zIAIFm1G/2k2yEH72GPkgxdgTX6hnG2XG60/WTv6Jr01jDR8ds+YxHHYuD0OT+iqIBZ6cmel/gM6khW8JcXJjDtmAnaUMNd/zumQA2Nadc8pZaHR2U4hO5wB/AoyiklViSuQWwq8fmoBsxN5l9MtJzIN6IJ7EhrDrEVsqFJSXb4QH76D75Tu4uglQ89wlVzGwXRevEcB/5QIGYyfhYt3GVwLUS9VvEbPaT10K0o6l0qB23xgwdBAphBNTAfoq8eNXP0mr1glp9eBbA37Db4+zqLhk5oDQz7tVoh4PMGkX5xkOaJi34wqlSCRtdcKmUua1udhpZN1El5z1A1OOxCiUWqUpwCfQglXCla2kwLAE/vjCipU/YKpyZODQI/humixi3jL9A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR12MB1947.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(346002)(366004)(376002)(396003)(136003)(39860400002)(451199015)(38100700002)(66946007)(186003)(2616005)(66556008)(66476007)(36756003)(83380400001)(2906002)(966005)(41300700001)(316002)(8936002)(53546011)(86362001)(4326008)(6486002)(6506007)(6512007)(8676002)(45080400002)(478600001)(31696002)(44832011)(5660300002)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eDFZTGFPVEx3aWFKZXBPQmJjZHJIdjFnTnRtZk9rbVFKdDU2MjRMY0Q4Q3Nx?= =?utf-8?B?RnlRQ09LaVc2U0FlU3VETUMwZWh0WHVoNVV0bHo0Zm9rWWVBKzR4TGxQK1lR?= =?utf-8?B?Q0ozd3hIaTUvMVMvWEx4MEl1SHN5N1ZmZ3FuY1RoN0FaajdCclhlcWtBMS91?= =?utf-8?B?NTdScGxsTm8vZ2tHVUlOUi9MRGRFQ1ZvRGtPWHROZi8xQUJ2U0FzNjRKajdW?= =?utf-8?B?cncvb1FXSXhrSHYrVWN1Yi9OUkhRUjl0RFM3aGYzOUc4dEx1S3pFUEkrV2dk?= =?utf-8?B?N3o5dHpIUVZ3WGpJVGhtN1U5VFJYVzlwY0tsUG8wYUJVQ2pjTUgrcExlbTl6?= =?utf-8?B?VFl3L2NoNnhZOUhkMlhRRXdZamY4RkhTcFduS2QyV3NhQmE4ZjNpQmNMTG5q?= =?utf-8?B?WS9VTXU0aHJpNFBpTGkvRkNiUE9uWS9XRElybW8zQnVKL1BKb3BHVENoRDhL?=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network-Message-Id: a52713d2-51b9-47dc-6de9-08da9b2a8baa X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB1947.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2022 17:07:06.1886 (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: XZ44CoZdvWBd00b7k8LzwjNgUHROVAipUESeJSxrVhY9R583RvT2WQxH4+YoVzOaYghNg7KDCHipxae4+1igDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB5418 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 After rebasing to latest drm-misc-next to latest I actually see someone else already fixed this and other kerneldoc warnings so we can skip this patch. Andrey On 2022-09-20 02:46, Anup K Parikh wrote: > Fix two warnings during doc build which also results in corresponding > additions in generated docs > > Warnings Fixed: > 1. include/drm/gpu_scheduler.h:462: warning: Function parameter or member > 'dev' not described in 'drm_gpu_scheduler' > 2. drivers/gpu/drm/scheduler/sched_main.c:1005: warning: Function > parameter or member 'dev' not described in 'drm_sched_init' > > Signed-off-by: Anup K Parikh > --- > Changes in v2: > Correct the doc strings according to > Link: https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.kernel.org%2Fall%2Ff528a8e4-5162-66d5-09da-5252076882b8%40amd.com%2F&data=05%7C01%7Candrey.grodzovsky%40amd.com%7Ccbef53d3f32845465ce908da9ad3f29b%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637992532358603366%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PnHCvtDFVWnb25YkDfjHcmy9MBpLCA462xco799rjJs%3D&reserved=0 > drivers/gpu/drm/scheduler/sched_main.c | 2 ++ > include/drm/gpu_scheduler.h | 2 ++ > 2 files changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main.c > index 68317d3a7a27..979685830671 100644 > --- a/drivers/gpu/drm/scheduler/sched_main.c > +++ b/drivers/gpu/drm/scheduler/sched_main.c > @@ -994,6 +994,8 @@ static int drm_sched_main(void *param) > * used > * @score: optional score atomic shared with other schedulers > * @name: name used for debugging > + * @dev: A device pointer - primarily useful for printing standardized > + * messages with DRM_DEV_ERROR(). > * > * Return 0 on success, otherwise error code. > */ > diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.h > index addb135eeea6..80a525dd19bd 100644 > --- a/include/drm/gpu_scheduler.h > +++ b/include/drm/gpu_scheduler.h > @@ -435,6 +435,8 @@ struct drm_sched_backend_ops { > * @_score: score used when the driver doesn't provide one > * @ready: marks if the underlying HW is ready to work > * @free_guilty: A hit to time out handler to free the guilty job. > + * @dev: A device pointer - primarily useful for printing standardized > + * messages with DRM_DEV_ERROR(). > * > * One scheduler is implemented for each hardware ring. > */