From patchwork Sat Apr 23 01:29:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 12824361 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 4E5E6C433EF for ; Sat, 23 Apr 2022 01:29:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9659710E1EB; Sat, 23 Apr 2022 01:29:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by gabe.freedesktop.org (Postfix) with ESMTPS id 998E610E1EB; Sat, 23 Apr 2022 01:29:49 +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:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=x2bd6S4bmTTvHUq69Na2qRGHtShuyYBXZEOPRIIgd8E=; b=hn+LOYPKMgtXSUvCJARi8nm8Ap /jovlbudM4XvOs3vv2peO9+0ewMjqvx6sl43o7E0XBcPv9RJ7ApMXWSOeiSRKigkC90RZm6u9/2or ZNG2sQRK1CvHX2o3qwAFJwIPt/qErClQsyp+Ai0DMMAQFdEac/3sba3iNf2Zxh8cvtalNw2bgLftg 9sOr7cgX66O5MsJW27sMKFTKKkOjklM9RiSBiqJTpASv4xUdcDQlhZmOM9oHNjQVoFwW8MhVcUHlQ Qdo+uVQhVB3aylrTd42+F5G0eK9aqZvCi52jo79x9mmOtIW/N1ZAeHEb7g4LVaqt/J/yTdirK9C2N b4oBG80Q==; Received: from [2601:1c0:6280:3f0::aa0b] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1ni4an-00377U-9S; Sat, 23 Apr 2022 01:29:45 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Subject: [PATCH] drm/amd/display: fix non-kernel-doc comment warnings Date: Fri, 22 Apr 2022 18:29:43 -0700 Message-Id: <20220423012943.12133-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.34.1 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: Randy Dunlap , kernel test robot , David Airlie , Robin Chen , Rodrigo Siqueira , amd-gfx@lists.freedesktop.org, Leo Li , dri-devel@lists.freedesktop.org, Alex Deucher , Anthony Koo Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fix kernel-doc warnings for a comment that should not use kernel-doc notation: dmub_psr.c:235: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Set PSR power optimization flags. dmub_psr.c:235: warning: missing initial short description on line: * Set PSR power optimization flags. Fixes: e5dfcd272722 ("drm/amd/display: dc_link_set_psr_allow_active refactoring") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Robin Chen Cc: Alex Deucher Cc: Anthony Koo Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: David Airlie Cc: Daniel Vetter Cc: Harry Wentland Cc: Leo Li Cc: Rodrigo Siqueira --- drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c @@ -231,7 +231,7 @@ static void dmub_psr_set_level(struct dm dc_dmub_srv_wait_idle(dc->dmub_srv); } -/** +/* * Set PSR power optimization flags. */ static void dmub_psr_set_power_opt(struct dmub_psr *dmub, unsigned int power_opt, uint8_t panel_inst)