Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3344962rwb; Mon, 7 Aug 2023 11:57:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFBpxGklOooVWEWHEzYhh0pMTPKhxR2Pw5/VTe20zYhOn3DJudcYsNimVnT3HeUcli3juiK X-Received: by 2002:a05:6808:1451:b0:3a1:e796:d961 with SMTP id x17-20020a056808145100b003a1e796d961mr12486525oiv.2.1691434673852; Mon, 07 Aug 2023 11:57:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691434673; cv=none; d=google.com; s=arc-20160816; b=zJIc7xAhmyDw9tVtntlOCwhD7fLMTybxBRyzu4DMsgaOwzsp4FmDjx4CG4HqsSdt76 nwtZdltQBrTom1CGLLn+eC/ImcdNdBA/hZ4q71jwXQBF62Hbd5M1rrArRQhZc4oS48Nf NdDAbzR3xmU/Vo/0K29mKSPgQUdFom+yz0zJOQMPLJQCDx2McWzaoM1JPJcGam/s3iXl v664SpGd0X2fVY2a2EjMagxfS+JybVaDgvDwJ0N6e+T+B9Z2AW4wbFcrTy5EJHl+UnHj KevWa7KipUeiLuMpKynwm2xtjSMDt9H9OLRaEIALVGsFaQj+sIUWPsOvGyH+gKU6xEj/ h5iQ== 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=Uy8OaIJgFMpn7QR7vmhG8Oa1kwr3LNfFFiT4wDabSGs=; fh=YwR8hmjC2QSif+72cT3/sIS32/1FMEJSAUJ+j+OuTzU=; b=LkhccNPEyMWrNpHGsSbtvDiInBIhE+c4vyvojQPqzbHiLN+Unkh0+w8HS3me2ZWnVD zL+2OjeR4IwcIGDfryTfj6+K1c/coxU1/wvLzEWHYZf40C/4TXZFj0YJC9ZamlvLcujU LStoqKLN2yg6DY8qSxi55MZwlMaw0nMrpna/DgA+gzNLvakHHyfvsAdWE8AGqdd6C/XH Gt1m75wdeF+aYeQoH8PLwd1Xm0ez4sexee7Td2EAEj9icpvbf4xUVLRsd24zZfQFZtGu Dcfl+E16/C5lObi1VGnAUi0qax3fNZAaJkeBNUFTaZzXeVpk4SdShQY44AdP8PKT+GwM xzdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=aNzTBw0d; 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 h11-20020a63574b000000b0055fe108fd6fsi5767089pgm.245.2023.08.07.11.57.42; Mon, 07 Aug 2023 11:57:53 -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=aNzTBw0d; 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 S232099AbjHGR1l (ORCPT + 99 others); Mon, 7 Aug 2023 13:27:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229716AbjHGR1j (ORCPT ); Mon, 7 Aug 2023 13:27:39 -0400 Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5438FF9 for ; Mon, 7 Aug 2023 10:27:35 -0700 (PDT) Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-1bb7297c505so3310712fac.1 for ; Mon, 07 Aug 2023 10:27:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691429254; x=1692034054; 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=Uy8OaIJgFMpn7QR7vmhG8Oa1kwr3LNfFFiT4wDabSGs=; b=aNzTBw0dQkfFi6QOd1CtTyKHTFBTA1odulG1qsOqUcuP7ajAukURSRCe7lf2vO3C7u B+juC6Somiij0/9+xUOI72Wrj/gTkGw4IZn6Ro6xOdYIFqeGed1fz2Cqh0rxvUjGi8BD J5VnqvdCPyFm+mCuc7KuwjoqhTVY53Ro78yibGYRC6npSeROyqV7bi3xtxCWh1SWXq0S ArqhENY6nI5uE6LL/7PuUZwt/00uJ7YFUQFI3Y0FEcdFDdCqQxF0X0KUYj8CkRZ5vrxw 2yp34KzaUyqkqt1whMbtrhaboFO4XekoYwr6Ka7MzVengX9vH7yXjfH+otJn8YFhbBdG dVvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691429254; x=1692034054; 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=Uy8OaIJgFMpn7QR7vmhG8Oa1kwr3LNfFFiT4wDabSGs=; b=CJsqn9tUFa9uWXnfNtfTUyNIx3KOAV0AotGEKM5NTZxQ1Jaxe8rZX3/JXTRO7QK/XT XN5Zo8buwBHVzdHAlZ1gqcWeGIvdWXdve97JBauPusbhJZne0CWi/BUY0CsCPnWU6jWF XNcJQN9VYcySB84sWJXEUF1MQ89pGui5dotF4YoFs1MBKYHFcTOO9Eet5FTbX9HNLB++ Pw+sYbXhdEyvl5Vz3DrWQI+adTh8ff4yHr4RPF2qcY8PhVu0fmNw6ZeaKp0qIfub2T5v Q6VmOlggMBz1ado61UckwvGkG6XIJ/Uwo+0l2WyKw9Af2Je9eaMjOay9XaxGsadd8Gwa 0lpA== X-Gm-Message-State: AOJu0Yzw9lQR5jZt3iOWaOewQQeA5K8Z1e2sIEebPr/iTuIxrJggy2Es gpyArV+CSsOt4GIlMwKQE6kd9yrVo6zFHjBU6as= X-Received: by 2002:a05:6870:65a0:b0:1ba:caf2:acc3 with SMTP id fp32-20020a05687065a000b001bacaf2acc3mr12280535oab.5.1691429254628; Mon, 07 Aug 2023 10:27:34 -0700 (PDT) MIME-Version: 1.0 References: <20230802072440.13073-1-sunran001@208suo.com> In-Reply-To: <20230802072440.13073-1-sunran001@208suo.com> From: Alex Deucher Date: Mon, 7 Aug 2023 13:27:23 -0400 Message-ID: Subject: Re: [PATCH] drm/amdgpu: Clean up errors in mes_v11_0.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_BLOCKED,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 3:24=E2=80=AFAM Ran Sun wrote= : > > Fix the following errors reported by checkpatch: > > ERROR: else should follow close brace '}' > > Signed-off-by: Ran Sun > --- > drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c b/drivers/gpu/drm/amd= /amdgpu/mes_v11_0.c > index 11fda318064f..6827d547042e 100644 > --- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c > @@ -788,8 +788,7 @@ static int mes_v11_0_mqd_init(struct amdgpu_ring *rin= g) > DOORBELL_SOURCE, 0); > tmp =3D REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, > DOORBELL_HIT, 0); > - } > - else > + } else > tmp =3D REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, > DOORBELL_EN, 0); > mqd->cp_hqd_pq_doorbell_control =3D tmp; > -- > 2.17.1 >