From nobody Sun Feb 8 08:36:49 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52A8AEB64DD for ; Wed, 2 Aug 2023 02:54:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231452AbjHBCyy (ORCPT ); Tue, 1 Aug 2023 22:54:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229701AbjHBCyw (ORCPT ); Tue, 1 Aug 2023 22:54:52 -0400 Received: from out28-75.mail.aliyun.com (out28-75.mail.aliyun.com [115.124.28.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECCF211D for ; Tue, 1 Aug 2023 19:54:51 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.6822839|0.6520798;CH=green;DM=|SPAM|false|;DS=CONTINUE|ham_alarm|0.168779-0.00358723-0.827634;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047202;MF=sunran001@208suo.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.U6NGrmo_1690944884; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U6NGrmo_1690944884) by smtp.aliyun-inc.com; Wed, 02 Aug 2023 10:54:46 +0800 From: Ran Sun To: alexander.deucher@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ran Sun Subject: [PATCH] drm/amd/display: Clean up errors in dce112_hw_sequencer.c Date: Wed, 2 Aug 2023 02:54:43 +0000 Message-Id: <20230802025443.10458-1-sunran001@208suo.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Fix the following errors reported by checkpatch: ERROR: space required before the open brace '{' Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c b/= drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c index 690caaaff019..0ef9ebb3c1e2 100644 --- a/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c @@ -127,7 +127,7 @@ static bool dce112_enable_display_power_gating( else cntl =3D ASIC_PIPE_DISABLE; =20 - if (power_gating !=3D PIPE_GATING_CONTROL_INIT || controller_id =3D=3D 0){ + if (power_gating !=3D PIPE_GATING_CONTROL_INIT || controller_id =3D=3D 0)= { =20 bp_result =3D dcb->funcs->enable_disp_power_gating( dcb, controller_id + 1, cntl); --=20 2.17.1