Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp588487rwo; Wed, 2 Aug 2023 00:25:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlHh3HKtsZo6BNa1k4dG737314URJNK0zx7sy6z4ue/diJ+cFVXAQAgSOSNSzu15a4eGDgb6 X-Received: by 2002:a05:6a00:1989:b0:67a:a4d1:e70 with SMTP id d9-20020a056a00198900b0067aa4d10e70mr15576118pfl.16.1690961154729; Wed, 02 Aug 2023 00:25:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690961154; cv=none; d=google.com; s=arc-20160816; b=FVQEUSwYnDwfYQW5kYVKko0SeopAr2JrLghaIxObbqTX+Xf6uNklo2FhheOJCpbwD7 lWWqjeAeKSKmJiPYPvAHeKmmZeMy7+/ha2L3z9h/HfJLk6sEgsrwPGZEy6qE0eutO/y1 UdlB2+0PouDwb5ezlyz086tbEqawXc/CdAUoe69NwERDKxlsO44zo2bgrvu46xC8YhHf HU4vcq1MdxouxmOoAwBMzN5HPSEo1n16X17j75KVeWG6DK5vi/OhxQa7r4UtiG6FdwfJ hpobFBhGeqdEFwiS1cit3Itpm5rYxaNbUTlyuFRF/AM5Am2dgmucOkAvI7Nep/Yj3juz U5wg== 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=tSmD5DYWdKUDtTNUysaYVUpz5wOyLQsY4izkXEhccEM=; fh=M7zDVNG5wYj+Ni7TE5shUh1U8LRNWB+keJIKRth6hag=; b=OYTHN/ZgCc+No2OtRpMvzOp5/44jkxGzl9J+z4unT7Cp/HikVQRaduY3uVgRQcl2Sl T60yvnfnmMhGfhUNqpGEH3pEsp1Ng5FRT4Qv73sRY9m0u8Dk5q4nXndTRTfJ+zSQvUGK wYLxQBN8/Un/8QyF8IRICJyErbIqu3XjcPzbIgwYH3f7JQPZO0XO7rBgs8s0JKpw+xs5 xgVEcI2viMBbRj3tTj1z1p+DQFapHpWATZlHSPf0mHeb5b8E4n68NFmoR410+Y0ZafUD yT3zB9ane4yDhhGCnHdHMros7WixU7YGS3nsFPJ6qQR0v2y1e++Se95JX3KXjnyp5/4W 14rA== 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 cv9-20020a056a0044c900b00687312950a1si5276633pfb.387.2023.08.02.00.25.42; Wed, 02 Aug 2023 00:25:54 -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 S231153AbjHBGn5 (ORCPT + 99 others); Wed, 2 Aug 2023 02:43:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232466AbjHBGnt (ORCPT ); Wed, 2 Aug 2023 02:43:49 -0400 Received: from out28-1.mail.aliyun.com (out28-1.mail.aliyun.com [115.124.28.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D8D830C4 for ; Tue, 1 Aug 2023 23:43:44 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.5251083|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_alarm|0.0292899-0.00261234-0.968098;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047211;MF=sunran001@208suo.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.U6YPSJs_1690958616; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U6YPSJs_1690958616) by smtp.aliyun-inc.com; Wed, 02 Aug 2023 14:43:38 +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 ih_v6_0.c Date: Wed, 2 Aug 2023 06:43:33 +0000 Message-Id: <20230802064333.11895-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: trailing statements should be on next line ERROR: that open brace { should be on the previous line Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/amdgpu/ih_v6_0.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/ih_v6_0.c b/drivers/gpu/drm/amd/amdgpu/ih_v6_0.c index 980b24120080..ec0c8f8b465a 100644 --- a/drivers/gpu/drm/amd/amdgpu/ih_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/ih_v6_0.c @@ -494,7 +494,8 @@ static int ih_v6_0_self_irq(struct amdgpu_device *adev, *adev->irq.ih1.wptr_cpu = wptr; schedule_work(&adev->irq.ih1_work); break; - default: break; + default: + break; } return 0; } @@ -759,8 +760,7 @@ static void ih_v6_0_set_interrupt_funcs(struct amdgpu_device *adev) adev->irq.ih_funcs = &ih_v6_0_funcs; } -const struct amdgpu_ip_block_version ih_v6_0_ip_block = -{ +const struct amdgpu_ip_block_version ih_v6_0_ip_block = { .type = AMD_IP_BLOCK_TYPE_IH, .major = 6, .minor = 0, -- 2.17.1