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 DA890C43458 for ; Fri, 10 Jul 2026 16:37:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0AF4110E1EE; Fri, 10 Jul 2026 16:37:46 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.b="dRmbwzYE"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by gabe.freedesktop.org (Postfix) with ESMTPS id E1FAC10E1EE for ; Fri, 10 Jul 2026 16:37:42 +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: Content-Type:MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=+Dc0Mlljv4/uI7y+secKBl9+3xwsIwOCPbCIrJSm/EM=; b=dRmbwzYEX/npJ3txVlAJovfSIG IRWDO0AinB/9R5WKy6kX1t3ib9QgB8OZEXaZOto7n7aG9SdVXQRUQmhZJPVl6vrAEoQsgiw0Ofz+C je2TbWN3/IBdASpRK3eubn3saACReoGfI2QVnupu6oP0xF7oGeEG/dbzPId8RopvNzgUyq6yBDh+q g2nKxOD+Eb6lqpHXz1RLoCVX8E7wll6Y6/kJgEKdB++w/l+tDplOgK2PauqVuYkO6Y7gdssXa5k7d hoOpfDQFweRfttpN8STCAjK+tjwLKu1LVX5pUlU9iOTef6y7a0Opov86Crpa9mdK0OT40xH9A7qi2 GgfOBfmA==; Received: from [50.53.43.113] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.99.1 #2 (Red Hat Linux)) id 1wiEEQ-00000005ILm-1I7j; Fri, 10 Jul 2026 16:37:42 +0000 From: Randy Dunlap To: dri-devel@lists.freedesktop.org Cc: Randy Dunlap , David Airlie , Simona Vetter , =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Subject: [PATCH v2] drm/exec: drm_exec.h: eliminate kernel-doc warnings Date: Fri, 10 Jul 2026 09:37:38 -0700 Message-ID: <20260710163740.953914-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.54.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Repair kernel-doc comments to avoid kernel-doc warnings: Warning: include/drm/drm_exec.h:146 No description found for return value of 'drm_exec_is_contended' WARNING: include/drm/drm_exec.h:157 function parameter '_exec' not described in 'drm_exec_retry' WARNING: include/drm/drm_exec.h:157 Excess function parameter 'exec' description in 'drm_exec_retry' Fixes: bba175a2d4be ("drm/exec, drm/xe: Avoid abusing the drm_exec retry pointer") Signed-off-by: Randy Dunlap --- v2: rebase & resend Cc: David Airlie Cc: Simona Vetter Cc: Thomas Hellström Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann include/drm/drm_exec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linext-2026-0710.orig/include/drm/drm_exec.h +++ linext-2026-0710/include/drm/drm_exec.h @@ -140,7 +140,7 @@ drm_exec_retry: __maybe_unused; \ * drm_exec_is_contended - check for contention * @exec: drm_exec object * - * Returns true if the drm_exec object has run into some contention while + * Returns: true if the drm_exec object has run into some contention while * locking a GEM object and needs to clean up. */ static inline bool drm_exec_is_contended(struct drm_exec *exec) @@ -150,7 +150,7 @@ static inline bool drm_exec_is_contended /** * drm_exec_retry() - Unconditionally restart the loop to grab all locks. - * @exec: drm_exec object + * @_exec: drm_exec object * * Unconditionally retry the loop to lock all objects. For consistency, * the exec object needs to be newly initialized.