Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp34825pxh; Thu, 7 Apr 2022 13:10:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMmmDpTEgoBJBYf2aid5y6syZdLkt1QqVeJWKoKRfLwntR+F7j5r1xZ+Q8D1HtQWliU/k6 X-Received: by 2002:a17:90a:f40b:b0:1ca:9d42:cb72 with SMTP id ch11-20020a17090af40b00b001ca9d42cb72mr17224556pjb.187.1649362210488; Thu, 07 Apr 2022 13:10:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649362210; cv=none; d=google.com; s=arc-20160816; b=YeFkGSCgXS8vZxMJlAUnYF1SgtJwmw3cSB6MVk2uZd5g2O3d8tr9KfFg9sl1BRZblC K9Bir63Fo8Ka1caplkPgUxRwqk2oIrj9Q1AGev3klU16YTgysNPNYf5OUuhixAwtLO1I JhsRi1G1ohBr5Y64wvgUIo970Nmcdn9BeFAv+0X8+vwtlmJ80g9VNv7rN2351j0K3HOQ 7fbXAdkIjge6YgUPY/A46kRv5EWleLD2ey+ocza1xxbRZ9jC6GF/g6G7OKTYr9L39+ch Ws99VqVmJmuGgWOolcdoWUPR5KevIj6+r+JotsHyakqMHPSD1Wkr2bTr++aFgCE/4Ny4 GQfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=tfo0Y1Fm5a5MELUPQnGWy7vkYAzWnABLXMwy5NOIpQM=; b=KZ/R0YBIQWnZiu62nzfmLworwwpz1/Y4gYp0Q0jyiFpSu4u0EA7NnYLhdas4DD/NSG EfRFpszEQPyFZWzj4hug9+h5bW1fE/4t5KIYXFfIqp+g2YljGqqwjNpnCSBEcQ4dyxXR F9mXL7Sgb37FLmmlOTlb+XY/D0eyNpmEEXwmPcRcU5rq2UUpsXsRYKVfQNwDuO4/Wcei to5B0h6SW6CMxv23FKz/OG81dQO70J4+JBNa0UG5ZjRz2tk2lgpCs6QiHn7r71+rRhUF 0K1NvpDzN7wJhvh4c97z114zPqzMIk21kHjTPeP/5psQOJcykheFgSfUWPWuPdzrAzsK QkWA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s203-20020a632cd4000000b003816043ee33si19469069pgs.40.2022.04.07.13.10.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:10:10 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DFB2D2BE97E; Thu, 7 Apr 2022 12:33:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240631AbiDGGC6 (ORCPT + 99 others); Thu, 7 Apr 2022 02:02:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238795AbiDGGCx (ORCPT ); Thu, 7 Apr 2022 02:02:53 -0400 Received: from mail.meizu.com (unknown [14.29.68.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C09672FFDB for ; Wed, 6 Apr 2022 23:00:53 -0700 (PDT) Received: from IT-EXMB-1-125.meizu.com (172.16.1.125) by mz-mail04.meizu.com (172.16.1.16) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 7 Apr 2022 14:00:52 +0800 Received: from meizu.meizu.com (172.16.137.70) by IT-EXMB-1-125.meizu.com (172.16.1.125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Thu, 7 Apr 2022 14:00:51 +0800 From: Haowen Bai To: Harry Wentland , Leo Li , Rodrigo Siqueira , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter CC: Haowen Bai , , , Subject: [PATCH] drm/amd/display: Fix indenting mistakes in dcn10_hw_sequencer.c Date: Thu, 7 Apr 2022 14:00:50 +0800 Message-ID: <1649311250-17077-1-git-send-email-baihaowen@meizu.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.16.137.70] X-ClientProxiedBy: IT-EXMB-1-126.meizu.com (172.16.1.126) To IT-EXMB-1-125.meizu.com (172.16.1.125) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,TVD_SPACE_RATIO,T_SCC_BODY_TEXT_LINE autolearn=no 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 Smatch reports the following: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:2174 dcn10_enable_vblanks_synchronization() warn: if statement not indented Signed-off-by: Haowen Bai --- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c index ee22f4422d26..3c338b85040c 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c @@ -2172,13 +2172,13 @@ void dcn10_enable_vblanks_synchronization( if (master >= 0) { for (i = 0; i < group_size; i++) { if (i != master && !grouped_pipes[i]->stream->has_non_synchronizable_pclk) - grouped_pipes[i]->stream_res.tg->funcs->align_vblanks( - grouped_pipes[master]->stream_res.tg, - grouped_pipes[i]->stream_res.tg, - grouped_pipes[master]->stream->timing.pix_clk_100hz, - grouped_pipes[i]->stream->timing.pix_clk_100hz, - get_clock_divider(grouped_pipes[master], false), - get_clock_divider(grouped_pipes[i], false)); + grouped_pipes[i]->stream_res.tg->funcs->align_vblanks( + grouped_pipes[master]->stream_res.tg, + grouped_pipes[i]->stream_res.tg, + grouped_pipes[master]->stream->timing.pix_clk_100hz, + grouped_pipes[i]->stream->timing.pix_clk_100hz, + get_clock_divider(grouped_pipes[master], false), + get_clock_divider(grouped_pipes[i], false)); grouped_pipes[i]->stream->vblank_synchronized = true; } grouped_pipes[master]->stream->vblank_synchronized = true; -- 2.7.4