Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp588959rwo; Wed, 2 Aug 2023 00:26:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlHMkNKnyizIlQzKTjCLMV8DxS0YqTH/AK+bpVj9MiuYb3LISXDY3ML/9wSweZGFgkV5qudQ X-Received: by 2002:a17:902:e80f:b0:1bc:2d43:c74d with SMTP id u15-20020a170902e80f00b001bc2d43c74dmr3765467plg.34.1690961192383; Wed, 02 Aug 2023 00:26:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690961192; cv=none; d=google.com; s=arc-20160816; b=IAPpDrBECjnfCnDL1h7tQI5eYE6KBuL/RKAyjj2TmLdqBp/Ne9vDFvkj+xbYTlfdA3 Yq/IG0fgEqi6mfp2f6i4JJL5A66W5i+WpYHKM1VyEiI7+QpV0wfEeFJcUzWyBNB8T4OX 7DUh/KqDS/UGZD4RWs5diolsf8jGLKKmc9Zi+C0xQHv8HfEIjihWVq1m+OymGK0hZt+F MjjsTYd5L/iIVVoXY8QoYZBfnV7RBGpxH9rfhynPJcnd5Q7AeH4DhIkJj6lJNnclqjlo 1AQn33qZ3z9x4GuLZfCmW7caUEe0Y20iCwwmHM07N/peephFyriK6PE96T5+Q912ZL7U tR/A== 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=BXEOT2kDF6Bt8nkLQFafVUCpskaYwQzMbkZBlni93I0=; fh=M7zDVNG5wYj+Ni7TE5shUh1U8LRNWB+keJIKRth6hag=; b=I+Qa35ZeUZ50f1fl5U49oa4+Ywc/CyreyVHNvHCwAj1kepeOugde+IAq4NatWmcUFG zxxbv7pRKJBO9s/+pDH6hqPxyEKTkdT0nSwAiNxs/PQGkayI+XpLXr6ksXSg7iMcfYRl V24uvjOwN4a+PtoOyf/7s2gCupvYrxnmK6dGju68mcHtFeWAqKG5fcJMX/ZcddrSTA3M TeWL/6YKMFfnf2QE9N6cn5vgduRbrpKZvccxxPVc3C5+vLp9gt97fQqGJZvMWtt++vZz iwadBSKsHWXTFRLsvSp4fOBHJV3NNeYXhfZVTjV5AkmZPE7rIa62B7iCe1atzhcUA94A VNHA== 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 km7-20020a17090327c700b001b9f75c8bfasi8425311plb.424.2023.08.02.00.26.20; Wed, 02 Aug 2023 00:26:32 -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 S230396AbjHBGh6 (ORCPT + 99 others); Wed, 2 Aug 2023 02:37:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232341AbjHBGhx (ORCPT ); Wed, 2 Aug 2023 02:37:53 -0400 Received: from out28-4.mail.aliyun.com (out28-4.mail.aliyun.com [115.124.28.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FFCB1FF3 for ; Tue, 1 Aug 2023 23:37:51 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.5040528|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.103306-0.00202804-0.894666;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047208;MF=sunran001@208suo.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.U6YtKML_1690958263; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U6YtKML_1690958263) by smtp.aliyun-inc.com; Wed, 02 Aug 2023 14:37:45 +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/amdgpu: Clean up errors in vce_v3_0.c Date: Wed, 2 Aug 2023 06:37:42 +0000 Message-Id: <20230802063742.11697-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_BLOCKED,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: that open brace { should be on the previous line Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c index 8def62c83ffd..18f6e62af339 100644 --- a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c @@ -998,8 +998,7 @@ static void vce_v3_0_set_irq_funcs(struct amdgpu_device *adev) adev->vce.irq.funcs = &vce_v3_0_irq_funcs; }; -const struct amdgpu_ip_block_version vce_v3_0_ip_block = -{ +const struct amdgpu_ip_block_version vce_v3_0_ip_block = { .type = AMD_IP_BLOCK_TYPE_VCE, .major = 3, .minor = 0, @@ -1007,8 +1006,7 @@ const struct amdgpu_ip_block_version vce_v3_0_ip_block = .funcs = &vce_v3_0_ip_funcs, }; -const struct amdgpu_ip_block_version vce_v3_1_ip_block = -{ +const struct amdgpu_ip_block_version vce_v3_1_ip_block = { .type = AMD_IP_BLOCK_TYPE_VCE, .major = 3, .minor = 1, @@ -1016,8 +1014,7 @@ const struct amdgpu_ip_block_version vce_v3_1_ip_block = .funcs = &vce_v3_0_ip_funcs, }; -const struct amdgpu_ip_block_version vce_v3_4_ip_block = -{ +const struct amdgpu_ip_block_version vce_v3_4_ip_block = { .type = AMD_IP_BLOCK_TYPE_VCE, .major = 3, .minor = 4, -- 2.17.1