From patchwork Wed Aug 2 00:46:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 129539 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp125874vqx; Tue, 1 Aug 2023 18:16:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlEwdZu04O0bYEBvs8LiUTaI99bH0DgEDfm1beB3LHPMzKQaVMWsCkfUp6N/QkbAoh6e7Edv X-Received: by 2002:a05:6870:6127:b0:1b0:189c:87a0 with SMTP id s39-20020a056870612700b001b0189c87a0mr16770558oae.41.1690938982479; Tue, 01 Aug 2023 18:16:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690938982; cv=none; d=google.com; s=arc-20160816; b=NS4JnQaLGJ0jI6sL9egp4JdLjFAKGeCPbLolQrblhSKInE/8N2A9OZURclioGSf/Vu OSsnVb4xe5aImuUlIQLCe9Jyi8h2rDWH2M5W89O2GeDk+cluj/knLIOHOc/fAtpjvds5 xjtwDKRJgxNsYUIRhkq9jA6c7a++Xl+dDr//5JnI8sl91fMrVIoZ2mj878mTHVJ0z3p4 H51murE8Q0y5lAR4/Duw/TdtwwzMj8kO+tsviyankd/9Y3KYYyptdXp0XTpirh/z00sj MRWnV8fXrtmjuETUaCklfGOWtdDuOQ/xysts9wV573mR1UnmxSSviPVIFnkV9mo7IIym kDfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Gh7XBdogT1u1o99UdH09+v4CtyAiWLYVGktKk8n6+0I=; fh=pYCbvXYV3N/xiRKEwLbjXqDNTIImzwnn14rqcq1Gnv0=; b=K51imO4kf2BTUcxFbrSNwx9xoR+yzt4Hn0UtoqQXD2yLWMGD3hpSt3+aAGzNA7+oLS 3I0jAXwGlQt7k8t+sfl1zZAvkHlcv45wvMp6sLDQx3SL56pSezF9W9rxQNci5dv+qoB0 XOe5mapogtupbeqQl4Jy7J4R7+3KyWE2w2KQLLdU4gOYdqx4yz46ViyuqiLfzbZqkzmH Dqjfhybe+mQhQsyjEfesyBsbVd4h2FQT+BEfVh75EQxOa50NOthRbmLdFMoBpNe8gMEw PtHOdsUSWwdYArza9sTiygfJM7fMDXPP1IXTyj2MtKpRXr7izoAlL83ceC7/37R6JrG9 Xecg== ARC-Authentication-Results: i=1; mx.google.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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s5-20020a17090a2f0500b0026390b4a4e0si266132pjd.124.2023.08.01.18.16.09; Tue, 01 Aug 2023 18:16:22 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230484AbjHBAqi (ORCPT + 99 others); Tue, 1 Aug 2023 20:46:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjHBAqh (ORCPT ); Tue, 1 Aug 2023 20:46:37 -0400 Received: from out30-113.freemail.mail.aliyun.com (out30-113.freemail.mail.aliyun.com [115.124.30.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B8AA213E for ; Tue, 1 Aug 2023 17:46:34 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vosjg-X_1690937191; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0Vosjg-X_1690937191) by smtp.aliyun-inc.com; Wed, 02 Aug 2023 08:46:32 +0800 From: Yang Li To: airlied@gmail.com, daniel@ffwll.ch Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] drm/tests: Fix one kernel-doc comment Date: Wed, 2 Aug 2023 08:46:30 +0800 Message-Id: <20230802004630.74104-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_IN_DEF_SPF_WL 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773078034887225359 X-GMAIL-MSGID: 1773078034887225359 Make @drm_kunit_helper_context_alloc to @drm_kunit_helper_acquire_ctx_alloc, to silence the warning: drivers/gpu/drm/tests/drm_kunit_helpers.c:172: warning: expecting prototype for drm_kunit_helper_context_alloc(). Prototype was for drm_kunit_helper_acquire_ctx_alloc() instead Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6073 Signed-off-by: Yang Li Reviewed-by: Randy Dunlap --- drivers/gpu/drm/tests/drm_kunit_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tests/drm_kunit_helpers.c b/drivers/gpu/drm/tests/drm_kunit_helpers.c index 3d624ff2f651..c1dfbfcaa000 100644 --- a/drivers/gpu/drm/tests/drm_kunit_helpers.c +++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c @@ -156,7 +156,7 @@ static void action_drm_release_context(void *ptr) } /** - * drm_kunit_helper_context_alloc - Allocates an acquire context + * drm_kunit_helper_acquire_ctx_alloc - Allocates an acquire context * @test: The test context object * * Allocates and initializes a modeset acquire context.