From nobody Sun Feb 8 12:31:25 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D8D3C001DF for ; Wed, 2 Aug 2023 06:44:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231860AbjHBGn7 (ORCPT ); Wed, 2 Aug 2023 02:43:59 -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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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/amd= gpu/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 =3D 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_d= evice *adev) adev->irq.ih_funcs =3D &ih_v6_0_funcs; } =20 -const struct amdgpu_ip_block_version ih_v6_0_ip_block =3D -{ +const struct amdgpu_ip_block_version ih_v6_0_ip_block =3D { .type =3D AMD_IP_BLOCK_TYPE_IH, .major =3D 6, .minor =3D 0, --=20 2.17.1