Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp439354rwo; Tue, 1 Aug 2023 20:59:05 -0700 (PDT) X-Google-Smtp-Source: APBJJlHe+5c414+8WLL/wLapnOcvb13iySjBPcYuv141qn+3mwpGSZLX/ecI5AJ8BWu0WPNLTLAX X-Received: by 2002:a81:6704:0:b0:586:3102:edfa with SMTP id b4-20020a816704000000b005863102edfamr8154782ywc.13.1690948744930; Tue, 01 Aug 2023 20:59:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690948744; cv=none; d=google.com; s=arc-20160816; b=U53i6K62Rj5UnzM3Wrpwt/vkse6ejPAiGlsS+weJBc+Idy5YvAuEKA9b9Ln+oJu6Zi zScdzWFIgaHK8h7iYiey5Bvt/DrQ6PEUA2G5eD8HToutrHCOPwULuImSns4rhbuuATD2 BRT8jlD944NaAOTJXZtYZJgUtI06a1NbB/eMNQ46TMVTx8g6asJLvsBghgW5g4Vm16Rb BZq4nCIvCgXf1v3lkq5NXbgjnn7JPbvgxXvx7KySgHxpmAzlTiN9hsV0mvcIP0nlWvr6 Zo5fAK956IP3E97Mc5RwNGWrhvShmF2gvbDgDT1Ms3XLkmbbKRE96V8zvNUWFu+C4j+l kKew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=yIn9lwspzhefGJ4Zz9Y50R14ndNFjlLTRFcuIDu/lzA=; fh=M7zDVNG5wYj+Ni7TE5shUh1U8LRNWB+keJIKRth6hag=; b=TeQnwINvWQL7GDzTDWcpaA91WBK1y6HRlzcvP6x2lBNEuOGseJH9PM0qalbjuU/y9v mk4DKkppBXnvQypMG7uGjMka5NEVgCrFgNl+3rB4NSXD1SG+ie5paVjOLgQRrmgUxtZ6 HrkvQ5AgWzBCAzoWrk5PnZ/x5upzvTpnV4H7OQdOBwV8vhqvXUUR4O+PeGRxvKAnUuwC byM9YWG0H3r9d3bzXLh7Zk5+LutKrU3pscmDPf5SFoqczW4r6WQ5A5gbUkvszUlbhMG2 BUWDjDrxmLPcsm+rsyB/LOh3pAiL0314a8hl6L2GMCg5+4a2hBYYNAqGo7peaE8zGcXm u2Fg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bt17-20020a17090af01100b0025ea4dd9071si490797pjb.61.2023.08.01.20.58.33; Tue, 01 Aug 2023 20:59:04 -0700 (PDT) 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; 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 S230388AbjHBCyy (ORCPT + 99 others); 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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY 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 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 = ASIC_PIPE_DISABLE; - if (power_gating != PIPE_GATING_CONTROL_INIT || controller_id == 0){ + if (power_gating != PIPE_GATING_CONTROL_INIT || controller_id == 0) { bp_result = dcb->funcs->enable_disp_power_gating( dcb, controller_id + 1, cntl); -- 2.17.1