From patchwork Sun Dec 31 23:36:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13508130 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A705CC3DA6E for ; Sun, 31 Dec 2023 23:36:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C5A8510E036; Sun, 31 Dec 2023 23:36:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by gabe.freedesktop.org (Postfix) with ESMTPS id 85C7310E028; Sun, 31 Dec 2023 23:36:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=ZT2sZ2VwZXh+6J4iR0XwYrjm84BKYbnUTlDoeyNt2MY=; b=RmavZUgDBFFfvp/534EVeTZSHd +1wnV3Pn2m4tRrOnhoZ1uqnyhqVIpgc9xkHomKThwgz5FWNku6YFGF9o06Ok5Wkp3tIYxpBpwYMvU Wzj0Pk1OCuPtwyZ80/pMAlHemkKv7ur0Qf+jVXYKT6yjOEQYsQiff+6PD8ubLXS2dZvmb/AiaIdba wl1NNRkVf9Rwe+idGwUFk7I/Y6LaH2oBeYcGdNXMBWeS12A2bZ8vrq3Iuq2UfE5WzDzmbKw0bbBaX HZ4j/bKa3zDIkd2U9p2KZu0jhhwyDlenejkd51OLlvrGNNzMEBMhvTwUaxI/rxSFPGhHa/mA6lIMw q9aB3iww==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rK5MA-005MeM-2H; Sun, 31 Dec 2023 23:36:34 +0000 From: Randy Dunlap To: dri-devel@lists.freedesktop.org Subject: [PATCH 3/4] drm/nouveau/gr/gf100: don't misuse kernel-doc comments Date: Sun, 31 Dec 2023 15:36:32 -0800 Message-ID: <20231231233633.6596-3-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231231233633.6596-1-rdunlap@infradead.org> References: <20231231233633.6596-1-rdunlap@infradead.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Karol Herbst , nouveau@lists.freedesktop.org, Randy Dunlap , Maxime Ripard , Danilo Krummrich , Thomas Zimmermann Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Change kernel-doc "/**" comments to common "/*" comments to prevent kernel-doc warnings: gf100.c:1044: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Wait until GR goes idle. GR is considered idle if it is disabled by the gf100.c:1044: warning: missing initial short description on line: * Wait until GR goes idle. GR is considered idle if it is disabled by the Signed-off-by: Randy Dunlap Cc: Karol Herbst Cc: Lyude Paul Cc: Danilo Krummrich Cc: nouveau@lists.freedesktop.org Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann --- drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c --- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c @@ -1040,7 +1040,7 @@ gf100_gr_zbc_init(struct gf100_gr *gr) } } -/** +/* * Wait until GR goes idle. GR is considered idle if it is disabled by the * MC (0x200) register, or GR is not busy and a context switch is not in * progress.