From patchwork Tue Jan 17 07:02:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 44532 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1603803wrn; Mon, 16 Jan 2023 23:04:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXvJhpoyLl22FQSXwjQ1oSsXmARBKnSu73wyQuN7RQRixAkTtRiRfaUNo1RHzvAIz5PHa3jX X-Received: by 2002:a17:906:a457:b0:7c1:ad6:638a with SMTP id cb23-20020a170906a45700b007c10ad6638amr1869773ejb.17.1673939064171; Mon, 16 Jan 2023 23:04:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673939064; cv=none; d=google.com; s=arc-20160816; b=IEoTv0qhnfawlcbxD1ZW08qBfNL5WT3fc8zHPDCLO+K1aHlUNAa45OXrBCehIeIQQj e/Ewu36AztW0l9NT0HXzZ/Aez+or+UjJzEzMrKWRheBfD88GWaQg7Z4wE2bmWg1uXSyH wqpQ4UhWMtacZnQ3I1zp0FRil8mT//ioOVI3Glb6Sc4UHajHKTWOWDQcNiBjKnVRyaPB OYZ/rO4oUlsaogfyt4TXrPMqlY5CsH+VD9NuD8wwwnxeQ8I5HbmcnSfWlBwzNqcYXWY2 Am+RJBWsaDFBWgxSs48UfPgkp7jvbcVFqIdf9hStCpG0iBG2K6nL8VBG7wIsiqu9QmQ7 lI4Q== 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:dkim-signature; bh=dlN0SPwGV6tSfnA71oyz5C3ShFWzVI5hrnRHDzQPSpQ=; b=ZeZ18RA92A+YTgDhs2Z0dH9XPyoMVP6yNdUW9G3MFij2UrKMYQgPWhododMoN+JJFP FHXgjINPd1nVNbgpplsPPgP/Q7/Kk4QzDtFR6Lh1CK21riWVer3dHrGrperiDr+S65eo Nw4UeHJgO17wIwEyQoWNkGozrIJP3uzoJm9B/twN7KPtaonQhKh5tg9gGjXIGs7yDuX7 4LZM7qupMuyog9VyR+HwC3wL69J6D9YnD23jDxHtno+DjIP7f9K0vs2qt0sLRbqeCO6V 0WNKKdfsIOBl9p8ScunC+OZ4rVHB1RO87XRP5R4ZPPPCoodskMArtB2N1dmC7y133g0E X6Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=TydOPX5s; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm3-20020a170907948300b007c16f74db39si10932655ejc.745.2023.01.16.23.04.00; Mon, 16 Jan 2023 23:04:24 -0800 (PST) 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=@infradead.org header.s=bombadil.20210309 header.b=TydOPX5s; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235685AbjAQHCg (ORCPT + 99 others); Tue, 17 Jan 2023 02:02:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235817AbjAQHCT (ORCPT ); Tue, 17 Jan 2023 02:02:19 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E52923C76 for ; Mon, 16 Jan 2023 23:02:18 -0800 (PST) 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:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=dlN0SPwGV6tSfnA71oyz5C3ShFWzVI5hrnRHDzQPSpQ=; b=TydOPX5s33/CT4U6i83K8j4yow keyfknQMgYzpLQIZgfpIsR7M4SnAxsvHpSacIKU9EsJPcqj41RLUlDuGt2AZUpXDMIMc6jIqPlmtq 5q4i0KZzEdugOuaR+aTBCOhAa5R3TGfiSRZ1bz7d+45pJNOpoihSHvLgcZoTweASa68bW7pHL2H4W Z1aPm9olQkAn+H7Xyuj98XwV8h8mhjG2+rSVMOS/uEYq5fHNerwQDJU1ead7j3K79S37NHxj7ytD4 I8RXde3nzTRKlw4Omm+h23ITYnPh5BRlpnHHbvFGgdfvE4t1r/Bz2Z6Mn/JCmdN5MrE2RUNakO10b U9uqHVmg==; Received: from [2601:1c2:d80:3110::9307] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHfz7-00D7D3-EK; Tue, 17 Jan 2023 07:02:17 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Maxime Ripard , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org Subject: [PATCH] drm/atomic-helper: fix kernel-doc problems Date: Mon, 16 Jan 2023 23:02:16 -0800 Message-Id: <20230117070216.30318-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755252328146261503?= X-GMAIL-MSGID: =?utf-8?q?1755252328146261503?= Fix a kernel-doc warning and other kernel-doc formatting for drm_atomic_helper_connect_tv_check(). drivers/gpu/drm/drm_atomic_state_helper.c:560: warning: Cannot understand * @drm_atomic_helper_connector_tv_check: Validate an analog TV connector state on line 560 - I thought it was a doc line Fixes: 5a28cefda3a9 ("drm/atomic-helper: Add an analog TV atomic_check implementation") Signed-off-by: Randy Dunlap Cc: Maxime Ripard Cc: Maarten Lankhorst CC: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/drm_atomic_state_helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -- a/drivers/gpu/drm/drm_atomic_state_helper.c b/drivers/gpu/drm/drm_atomic_state_helper.c --- a/drivers/gpu/drm/drm_atomic_state_helper.c +++ b/drivers/gpu/drm/drm_atomic_state_helper.c @@ -557,15 +557,15 @@ void drm_atomic_helper_connector_tv_rese EXPORT_SYMBOL(drm_atomic_helper_connector_tv_reset); /** - * @drm_atomic_helper_connector_tv_check: Validate an analog TV connector state + * drm_atomic_helper_connector_tv_check - Validate an analog TV connector state * @connector: DRM Connector * @state: the DRM State object * * Checks the state object to see if the requested state is valid for an * analog TV connector. * - * Returns: - * Zero for success, a negative error code on error. + * Return: + * %0 for success, a negative error code on error. */ int drm_atomic_helper_connector_tv_check(struct drm_connector *connector, struct drm_atomic_state *state)