Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3699371rwo; Mon, 24 Jul 2023 15:29:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlEGMPedLnteFrsXCyDnEdNetI5guHwVBLfraL0+DZKClefgpyCm02KInP3yxUr/V/4amBDU X-Received: by 2002:a17:90a:8a13:b0:263:661e:e0dc with SMTP id w19-20020a17090a8a1300b00263661ee0dcmr8776867pjn.25.1690237787513; Mon, 24 Jul 2023 15:29:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690237787; cv=none; d=google.com; s=arc-20160816; b=IKIWjaplc9TQHYlfZDazLlNycYHTfapd2fUPjcknEGWRinVlvZkuHdkacim+4J9zJg 4AXVEYCQv6vS5AxTQch9v0PjlrlXegB9GSjXhKSZ/I47rZCCuqG0DN56blZaTkSjXD69 HKqIupSTQgyfKo7sfItsFSANYwTuTCNg5D3dfr4VuyWu2LKf8Xow1EMCwhbGTngR5mHh Xbj4UaQncN751G2VJjDmmSqrfGqMJMgA+gWJP9WrsS8DDMBuqYSOzxxNop+dEdQzlOPA L0w964omEDLgKicoccgiZiOdVSirIIWXCvKJMTzz5dbAMvyZssNePK3OiBBFK012sloB Un3Q== 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=r4SHNWvonq3pTdPu5w/9lA9SaPd7vXM0OcBb+UX7Zcc=; fh=5uMgb3FjuzEN2hx+/gHTXgNLDhaZ51PB3bSZEXlWkNo=; b=TsBfr+z5rlssYIIgL5UCTDD7v56RjCVh5+pEFVQKU4WtAa8X5qrGx/4AlfYD8gM7h8 q8UmHLxAiyjYCvcodYq/Gx1d8h+vC+HYPREDVoOA5KZ04F1UGEm8lWZ2NQqW3dL3zQGs WkxuzS7xp2f+ewKIzOt6oys7nvU1XF5GxAODRT16EmSD+t/cO0nUQM/JwqaXxLY4Fcl4 rhKm89oIAy+xsgZZuOiAjn/FryV8kTE1PdVltOgnm8QJsSoHKQtdWg/20O1U9ogC0RwZ edKNrK8tsNxuabPco1nSLNM2mwptYFVKgwrcsAdpZFsjOmkR4NKRYZeLUJalmCyLJTAP /HqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Totw2DOP; 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 bx24-20020a17090af49800b00263a643aaacsi9689893pjb.11.2023.07.24.15.29.35; Mon, 24 Jul 2023 15:29:47 -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=Totw2DOP; 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 S231355AbjGXVxs (ORCPT + 99 others); Mon, 24 Jul 2023 17:53:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229748AbjGXVxq (ORCPT ); Mon, 24 Jul 2023 17:53:46 -0400 Received: from mail-oa1-x2c.google.com (mail-oa1-x2c.google.com [IPv6:2001:4860:4864:20::2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26806118 for ; Mon, 24 Jul 2023 14:53:45 -0700 (PDT) Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-1b05d63080cso3804532fac.2 for ; Mon, 24 Jul 2023 14:53:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690235624; x=1690840424; 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=r4SHNWvonq3pTdPu5w/9lA9SaPd7vXM0OcBb+UX7Zcc=; b=Totw2DOP+aVvqwlywvLYSHlv7/hFnTw5PoZMFmPdshevUEe+e96+tR5JCJrBTv/7AR 5H5ZZNZagYQ3qPvvNO2xhWG0QzO0Y90y/UUIvYFpOuVn3YAkv5LE7HTfyd59/lGlqf8x trnruv82xA7s3X1xOVLk7oLBCU0dI0p6bukMxZrIbeA2FxMFPYiZJdDwsTJis4Coze1J x2624MmavfBFkqursl/yboRQGV2e9bNu+pkNR7/ZdNjxNxQTS4Op9t0qPNAsHqc2Szm9 HWeHrHDA32xz0vFCCAi4MH0qIr3vac7JLQ9ZDwYq6uRa5Y0gDWTZU8isLOk/Bwi1dH37 9LvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690235624; x=1690840424; 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=r4SHNWvonq3pTdPu5w/9lA9SaPd7vXM0OcBb+UX7Zcc=; b=bcJQk9uuoPY/VbYZY682ZJ9LpggatvDVI+lDb9+jcWTWcWD3UFdcjqZXZ6t43m1yF6 AQ/tkzs4NJNXM057Pbsh3Ro1Li6lR3xVyZ7ZD8uHBKRM6i0/0brelL19yaxLIwe1oe2u pSxdhhrGQi8IREfu6UFeLTlDhA5dsTM3u2kecpB/MGjn6m6EbwBAliBgowjZYtRjaGTB LJjgb1zY6zrEJ490zlUhm2itdk8EgGf/FsnN1BWo7hUJVu1JFUDdPpA6/1TWPTbEBx7a bB880SQjjJDpyeY4IGJT1Au8dzdCVJPx5nOcLpyRdpx2DQSkL5vNkH9dZ51vY1r5GCgU 8byw== X-Gm-Message-State: ABy/qLZ17DHjGOFt0Moi2gp8PvHa4ZZsxyV0krusY6+o2PbJE4DZDw8P osipqBTSoxS698r5T8fkJjHQwc4uIzDrxj0C074= X-Received: by 2002:a05:6870:b50b:b0:1b3:eec8:fa87 with SMTP id v11-20020a056870b50b00b001b3eec8fa87mr12990007oap.42.1690235624460; Mon, 24 Jul 2023 14:53:44 -0700 (PDT) MIME-Version: 1.0 References: <20230724084109.9496-1-xujianghui@cdjrlc.com> <7fde0c4213bf401813918ac05f313fbb@208suo.com> In-Reply-To: <7fde0c4213bf401813918ac05f313fbb@208suo.com> From: Alex Deucher Date: Mon, 24 Jul 2023 17:53:33 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/pm: that open brace { should be on the previous line To: sunran001@208suo.com 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,T_SCC_BODY_TEXT_LINE 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 Mon, Jul 24, 2023 at 4:42=E2=80=AFAM wrote: > > ERROR: that open brace { should be on the previous line > > Signed-off-by: Ran Sun > --- > drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h > b/drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h > index beab6d7b28b7..630132c4a76b 100644 > --- a/drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h > +++ b/drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h > @@ -52,8 +52,7 @@ static unsigned int DbiPrbs7[] =3D > > > //4096 bytes, 256 byte aligned > -static unsigned int NoDbiPrbs7[] =3D > -{ > +static unsigned int NoDbiPrbs7[] =3D { > 0x0f0f0f0f, 0x0f0f0f0f, 0x0f0f0f0f, 0xf0f00f0f, 0x0f0f0f0f, > 0x0f0f0f0f, 0xf0f0f0f0, 0x0f0f0f0f, 0x0f0f0f0f, 0xf0f00f0f, 0xf0f00f0f, > 0x0f0f0f0f, 0xf0f0f0f0, 0xf0f0f0f0, 0x0f0f0f0f, 0xf0f00f0f, > 0x0f0f0f0f, 0xf0f00f0f, 0xf0f0f0f0, 0x0f0f0f0f, 0xf0f0f0f0, > 0xf0f00f0f, 0xf0f00f0f, 0xf0f00f0f, 0x0f0ff0f0, 0xf0f0f0f0, 0xf0f0f0f0, > 0x0f0ff0f0, 0x0f0f0f0f, 0x0f0f0f0f, 0xf0f0f0f0, 0xf0f00f0f, > 0x0f0f0f0f, 0xf0f00f0f, 0x0f0ff0f0, 0x0f0f0f0f, 0xf0f0f0f0, > 0x0f0ff0f0, 0xf0f00f0f, 0xf0f00f0f, 0xf0f0f0f0, 0x0f0ff0f0, 0xf0f0f0f0, > 0xf0f00f0f, 0xf0f0f0f0, 0x0f0f0f0f, 0x0f0ff0f0, 0xf0f00f0f, > @@ -121,8 +120,7 @@ static unsigned int NoDbiPrbs7[] =3D > }; > > // 4096 bytes, 256 byte aligned > -static unsigned int DbiPrbs7[] =3D > -{ > +static unsigned int DbiPrbs7[] =3D { > 0xffffffff, 0xffffffff, 0xffffffff, 0x0000ffff, 0xffffffff, > 0xffffffff, 0x00000000, 0xffffffff, 0xffffffff, 0x0000ffff, 0x0000ffff, > 0xffffffff, 0x00000000, 0x00000000, 0xffffffff, 0x0000ffff, > 0xffffffff, 0x0000ffff, 0x00000000, 0xffffffff, 0x00000000, > 0x0000ffff, 0x0000ffff, 0x0000ffff, 0xffff0000, 0x00000000, 0x00000000, > 0xffff0000, 0xffffffff, 0xffffffff, 0x00000000, 0x0000ffff, > 0xffffffff, 0x0000ffff, 0xffff0000, 0xffffffff, 0x00000000, > 0xffff0000, 0x0000ffff, 0x0000ffff, 0x00000000, 0xffff0000, 0x00000000, > 0x0000ffff, 0x00000000, 0xffffffff, 0xffff0000, 0x0000ffff,