Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp441375rwo; Tue, 1 Aug 2023 21:01:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlFOFAtVG8xiaH5oIL1U5LEAHHDWi0brrFnHZmvrMNmqk/M3IBFvhEv/wnHSNu9A+CJz3PmT X-Received: by 2002:a05:6512:308e:b0:4fb:7626:31a8 with SMTP id z14-20020a056512308e00b004fb762631a8mr3561386lfd.27.1690948893738; Tue, 01 Aug 2023 21:01:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690948893; cv=none; d=google.com; s=arc-20160816; b=IZ2+3kt93kh1KyHgaSKTpoK2mLaZRLpJx0iTe54cDxcOYssv4aMRkDwaWLcf+tFzF8 ovzf+YdYgVZTCtkQX3efmR/BB3c3R0nS2NCr/6WZSisvC1vJM4RsioECWmxFIAVZwfLc 4s3ThVxk4SjvvQrHlQ7ty24gkrI9U8HU9yoKmwTcUIonTTkkf3k3kzHvOS2WETXhfkIQ Y3eiEWRH4+QFat2GTtvEasbJn2zWIbod7WZUPFO2kV7jOIq7g/sqMmYYMufZcNIDZjZC 7PEFDf7OtDXtnvpTBoSmnP8PGpOFgyAofFeUlOUtzBig5k9TXENrspucB5cQISMGjNfn px7A== 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=HbjG2Kv8SFHkPi602iR7m31NrKsZ0QfCwPXmfW8EIWg=; fh=M7zDVNG5wYj+Ni7TE5shUh1U8LRNWB+keJIKRth6hag=; b=LByZVkU6W0rI6O8oDiSY8POytLs2mwxYaJRurj85VpLQgmh5g6o+UdlYBO1NENEbrE UbyJ7dWrWnD1kow1B18uOjjbAPIIe4di+2DmNEwGc9dvIqNdrsfSRHngeu8pQqZE1gd1 j9I9FtzBKBYDdKoe9g8Uo4ZKcgKSIagKdlRxxw6c5fAvGCzulTWZH35El0PEfEC+sKfb iFjC9jV17Zo+bq8g+Wugl731ruCfyTEmeq4ExGtuGQu6DCvCv1p1lOl8mws/dHMLYtyv y3uShRLfxgpaW2vtTowD58AXwWqwbimN+MJwZN3QJv3r6LBKWF9/ZVgxwF0zuMJ49MjF X2bQ== 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 f10-20020aa7d84a000000b0051e2486c1ecsi8886677eds.252.2023.08.01.21.01.09; Tue, 01 Aug 2023 21:01:33 -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 S231454AbjHBDBl (ORCPT + 99 others); Tue, 1 Aug 2023 23:01:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231951AbjHBDBe (ORCPT ); Tue, 1 Aug 2023 23:01:34 -0400 Received: from out28-127.mail.aliyun.com (out28-127.mail.aliyun.com [115.124.28.127]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 222D12D69 for ; Tue, 1 Aug 2023 20:01:18 -0700 (PDT) X-Alimail-AntiSpam: AC=SUSPECT;BC=0.6778054|-1;BR=01201311R191b1;CH=blue;DM=|SUSPECT|false|;DS=CONTINUE|ham_alarm|0.00750567-0.000314579-0.99218;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047193;MF=sunran001@208suo.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.U6NhAFy_1690945271; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U6NhAFy_1690945271) by smtp.aliyun-inc.com; Wed, 02 Aug 2023 11:01:13 +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 dcn316_clk_mgr.c Date: Wed, 2 Aug 2023 03:01:11 +0000 Message-Id: <20230802030111.10658-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_H2,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: open brace '{' following struct go on the same line Signed-off-by: Ran Sun --- .../gpu/drm/amd/display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c index 0349631991b8..09151cc56ce4 100644 --- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c +++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c @@ -45,13 +45,11 @@ #define MAX_INSTANCE 7 #define MAX_SEGMENT 6 -struct IP_BASE_INSTANCE -{ +struct IP_BASE_INSTANCE { unsigned int segment[MAX_SEGMENT]; }; -struct IP_BASE -{ +struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; }; -- 2.17.1