Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3314313rwb; Mon, 7 Aug 2023 11:22:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEXNUepWZOU/AYklVu3qTYEuEFiBSMgoDRtO1VkZ00H2k63elj0YZUDeym9frpiuKal1g2m X-Received: by 2002:a05:6a20:948f:b0:132:965d:5323 with SMTP id hs15-20020a056a20948f00b00132965d5323mr8238191pzb.33.1691432563084; Mon, 07 Aug 2023 11:22:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691432563; cv=none; d=google.com; s=arc-20160816; b=ZCsHXh1kd9NkBcfR/e9OChdRqh1qU+3Ft+TdQ/8LZts6NmVFqLWqVIUn9I6WVryEhV VUsjwygC9r/3uO3CPGBclTHwf/Iv/iCDPz2tyn2sOGhCRrWARCAxaQgh4fhU+++GRHG3 nWfa5FbBNqE8NYZvSmzzyqY3hSar82zN4IisaF7ybhbzSaxbi3OAwlsXdiShyrlp0CLF TyXKgWd97Jpy91zcmnOed9aT9lKBY/lVgqvWn6A9vKmGzhFntTda0DqZI5863pvEYIYe km4wnB87N8W3x9H1cAVGRQX1JBZevpd1rgBobCi7v4srAFC8CrSz8gDlR1KOqsK4+j7V 8a9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=47Rr/3UghjkQtHtnUD+LxrBoaPTikVLYxh6ulykjDi4=; fh=YwR8hmjC2QSif+72cT3/sIS32/1FMEJSAUJ+j+OuTzU=; b=v7Koq1XXnJ3dGQmXbmWw4s8VlsUl26krGVDfi5LrTIrGy85esOJHhZIDeNaS7f1tED et3+4KXlNk5oObDlL1ltUSGvY7udDOxI/7N85TZEbEH+4Skdk5pmeBXleQdKDc5zO45c 6aAJdaIw4PflKGtxiCJjcBtE4JQkRpmKBLncnElvVy0wWe8w/iIbsgApC3winDXFI1oY Q1LJzRYtgY4GkEnf4i8o2bZjvb8sX+QGrmU4FdrEci+hzHpT+zJr10ajrEuR7GMwqy12 B5qrN7D+bmZkh5Ed9tCcpKsqaQRxfClYwWrSso87B3fUm+WsSuHPuW3DFbIge1hFZrH9 Q9mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=TXhdtRQx; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ei6-20020a056a0080c600b00682ad23bb40si5890809pfb.251.2023.08.07.11.22.28; Mon, 07 Aug 2023 11:22:43 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=TXhdtRQx; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232079AbjHGRTS (ORCPT + 99 others); Mon, 7 Aug 2023 13:19:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232056AbjHGRSw (ORCPT ); Mon, 7 Aug 2023 13:18:52 -0400 Received: from mail-oo1-xc32.google.com (mail-oo1-xc32.google.com [IPv6:2607:f8b0:4864:20::c32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC4E81BF7 for ; Mon, 7 Aug 2023 10:18:44 -0700 (PDT) Received: by mail-oo1-xc32.google.com with SMTP id 006d021491bc7-56d8bc0d909so753694eaf.3 for ; Mon, 07 Aug 2023 10:18:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691428724; x=1692033524; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=47Rr/3UghjkQtHtnUD+LxrBoaPTikVLYxh6ulykjDi4=; b=TXhdtRQx2FmIOpLDtEf2CxM8TfUx3IKKt43guRPsVD2I3e4VN3U1DDE6vxswepiKXP yGtAbi42pg1rMhZ9WzSDjb35zj1EfeEnluDaJXoCZlZ+Kb4BC9IzChR68EnOGYYU1YRk VaJ+VLFCKRH6wNX0aBWNept//AvlhiMtw8+yoo7czF8t4y7vULYHopiFRjN5Rf5DKjza caXIkPnUuPq6mlz9TfNqNx0EtoHC+7oejVkQPJ1VDo603Vi+IFDDOpQHbrdpjsUR5TP6 rbIbxEuhlCrDMrK0eyPH7OKj1NPuAaZ3bBlsy5LWwk3rFYf4UIoUQpK4G6kOxSSd2KpS yMeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691428724; x=1692033524; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=47Rr/3UghjkQtHtnUD+LxrBoaPTikVLYxh6ulykjDi4=; b=T8ngcRKPKTen/X8g+zYhiz9H5N00nr2NuMJKrAtr1lN2Dw+6RqaAyA9V+iSvc9D0ng CR0mxouumoGBqavOeaXVpQP3oMooDOwYMJZngVse5BY5p6Mq0hKVTWKp+vcSycuKCgYY Y1SJJQQO1dX0T+UIbrH+3GkF2f+DlSh3uvWtL9PE3Rqs+uNMFFNDrg5nTQfmAGJZ7fib OHqmvVkqSrNtzFgYaLnHUhPwXqlkJq3ZDpLtkhSUoTwout97+e+RcjW1F+Ocdy3zH+mA PyMprwUYpPSPtFTykenexcFCXH+aMMDHoGkcMUAIX+AjFSzBLYy0SurynxrTgzbypQq5 NE0Q== X-Gm-Message-State: AOJu0Yw+4pScc4sSSVPM1yqDW7+2Ofn0BPpwebwA30SoOQi06GbAGNGc K3JJhNsFaaLENaBlPtBqDI8WzAW0yxv8wYGkGMg= X-Received: by 2002:a4a:8554:0:b0:567:27f4:8c45 with SMTP id l20-20020a4a8554000000b0056727f48c45mr8880807ooh.8.1691428724196; Mon, 07 Aug 2023 10:18:44 -0700 (PDT) MIME-Version: 1.0 References: <20230802064606.12005-1-sunran001@208suo.com> In-Reply-To: <20230802064606.12005-1-sunran001@208suo.com> From: Alex Deucher Date: Mon, 7 Aug 2023 13:18:33 -0400 Message-ID: Subject: Re: [PATCH] drm/amdgpu: Clean up errors in vega20_ih.c To: Ran Sun Cc: alexander.deucher@amd.com, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Applied. Thanks! On Wed, Aug 2, 2023 at 2:46=E2=80=AFAM Ran Sun wrote= : > > 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/vega20_ih.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/vega20_ih.c b/drivers/gpu/drm/amd= /amdgpu/vega20_ih.c > index 544ee55a22da..dbc99536440f 100644 > --- a/drivers/gpu/drm/amd/amdgpu/vega20_ih.c > +++ b/drivers/gpu/drm/amd/amdgpu/vega20_ih.c > @@ -500,7 +500,8 @@ static int vega20_ih_self_irq(struct amdgpu_device *a= dev, > case 2: > schedule_work(&adev->irq.ih2_work); > break; > - default: break; > + default: > + break; > } > return 0; > } > @@ -710,8 +711,7 @@ static void vega20_ih_set_interrupt_funcs(struct amdg= pu_device *adev) > adev->irq.ih_funcs =3D &vega20_ih_funcs; > } > > -const struct amdgpu_ip_block_version vega20_ih_ip_block =3D > -{ > +const struct amdgpu_ip_block_version vega20_ih_ip_block =3D { > .type =3D AMD_IP_BLOCK_TYPE_IH, > .major =3D 4, > .minor =3D 2, > -- > 2.17.1 >