Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3274057rwb; Mon, 7 Aug 2023 10:44:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEGJoz0T+zppSG081o4eLiqGJI8Cu3kNUraXcJP+vXnax5FscyTkruyzv/+URUUQfUpR7Mb X-Received: by 2002:a05:6512:368b:b0:4fe:62f:35eb with SMTP id d11-20020a056512368b00b004fe062f35ebmr6011002lfs.20.1691430240845; Mon, 07 Aug 2023 10:44:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691430240; cv=none; d=google.com; s=arc-20160816; b=TOr504GTHBwdS/cX6u6AwYgMTR5MVDKZm9jtF0NQJMfze8ewoaoKuCCvIwVixMdEou z/IBRROauBYr9TwBiljAbPOmaw/RqSQO0eynAB0E4mXTeSDEhRW7eD6mBCA7jvhaFXqa /rxKLipEoatT6P0EYQoyYbjv+C9schtTj+GCF2oH/RtwdpIzeDalFKhER5+qdQgAbnI0 /HmxHk3emDUxz4Cm0orggAHbn8V2OL1w5wQK638oRTLUS7OTs5HU25ieM2flLBBBPRGx G71TKtocsQZ86MjHrooQdoD4aJ7ERwugT2rPy3MJ4EAFyeVzGIq6etKDia8n/Cj/7kbk FFzA== 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=bfoqLIba1AF87rihr9bsxZdVGLDPpuKR96GgIsmd5Nk=; fh=t+hei0m6FWvWE3h8ROlSj5pw/xTY3yBXufxuldTsP1A=; b=k/F/DzdH2DwPB53t6jsJeNT5PsApU36C7v7DORFPr5l9e8SCblbW/y9Ae+IWjfIYk0 x4aXUYM0Mh5sfNR1kHKmWrlM4iiBbPiut+gp53hoCBEGcdowOZFwSwiie/pebWVx8ZKT cMzcX02fSPpA3RHbSyb0ovuF6hzxJzGjsCtCDlA51hhNdUx74bHs+dLv1Bm3YAeg6zUB D42+vTc/JL/J8nVfCKAS5a8mbVTkzAC5NGqwyzhxlb0cpmulc/mn735ZhN2NbDHREqxt 1U+KLOLysOa2mETki8ndE0sdmQWCpmO0Vr0Uzk1DzUGt9ansOeLJ8DAKxcr/K9gDzm8t xorQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=JHhtdfhF; 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 n9-20020a056402060900b005232d3c4c35si780643edv.605.2023.08.07.10.43.35; Mon, 07 Aug 2023 10:44:00 -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=JHhtdfhF; 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 S231833AbjHGQpJ (ORCPT + 99 others); Mon, 7 Aug 2023 12:45:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbjHGQpI (ORCPT ); Mon, 7 Aug 2023 12:45:08 -0400 Received: from mail-oa1-x2d.google.com (mail-oa1-x2d.google.com [IPv6:2001:4860:4864:20::2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B67A1736 for ; Mon, 7 Aug 2023 09:45:07 -0700 (PDT) Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-1bff2d2c141so574891fac.1 for ; Mon, 07 Aug 2023 09:45:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691426706; x=1692031506; 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=bfoqLIba1AF87rihr9bsxZdVGLDPpuKR96GgIsmd5Nk=; b=JHhtdfhFof0tkps0WXOG0EXsn3N+0wVgSXX6ubKj37GfkElHT22/ZFOG7xZnjycKHT 1PYFLR7mT5V5hEPOrYnrc7/nnqWH9TqwGnt492yGxNh70ex0hMSWqypgJ4403NgB4bxA QvVEm59JY2qkaj5sGfYqEThuAnxGWXhQocxbvtodaG6/CCe0kRoa67HTKcBoez+INPUj WdBoNiAZ/74Cy96ImF4dVM3Y/EajZjoamWKFQdIQNR7sVZKUCg+bi8/a9gsaKBAMA5+C APLArB3d4moYvoW3+W/0M6G0MN5klXILgQYek2w7IooSpZT/4/ecXtmX7deqyZnVcf1n wVJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691426706; x=1692031506; 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=bfoqLIba1AF87rihr9bsxZdVGLDPpuKR96GgIsmd5Nk=; b=DTcba+lUhif7KN7JC2LRMjQDUWBhGkaN9KEfmLxkB6+7TDqMWwmrPc633XukBDxnmF xBBnkxc4NKYHRgg3sUotvxWILxESkH3vL+GqPMf7/kMild8YSjvTRKzKt3Kz4Gugk2c6 5BeKQQ3LCFQsqAsBcNjgY8ebMGcO4F0DtpeD4t8I/SF7YgtqUjhfcyh9detsdiZpvQBM ZtioWSQNJzg1fbEuTyJ6w5Cj83dw/8letejx3pM6B/OHJYLFV4KTj9oo6gw40p+YlQj+ 2zF9V9XLaXN7Tf/Mya0YZ95EtSOGdD1xTrilrnBCTe/5aq5kozk7Y+hdWynbar78k4Ho PcCw== X-Gm-Message-State: AOJu0YzX6RQmoI1hNwYSOrsFe2Jpbsf3QpirKNre3zplT6kH4UCIknNA LHZ2F6DGgrrDquq1vhAPD69+S1hBXY/F8GgROR0= X-Received: by 2002:a05:6870:1713:b0:1ba:64a5:d2d1 with SMTP id h19-20020a056870171300b001ba64a5d2d1mr10025458oae.20.1691426706344; Mon, 07 Aug 2023 09:45:06 -0700 (PDT) MIME-Version: 1.0 References: <20230801093023.7584-1-sunran001@208suo.com> In-Reply-To: <20230801093023.7584-1-sunran001@208suo.com> From: Alex Deucher Date: Mon, 7 Aug 2023 12:44:55 -0400 Message-ID: Subject: Re: [PATCH] gpu: amd: Clean up errors in ppatomfwctrl.h To: Ran Sun Cc: alexander.deucher@amd.com, airlied@gmail.com, daniel@ffwll.ch, 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 Tue, Aug 1, 2023 at 5:30=E2=80=AFAM Ran Sun wrote= : > > Fix the following errors reported by checkpatch: > > ERROR: open brace '{' following struct go on the same line > > Signed-off-by: Ran Sun > --- > drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h b/driv= ers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h > index 2fc1733bcdcf..e86e05c786d9 100644 > --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h > +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h > @@ -147,8 +147,7 @@ struct pp_atomfwctrl_bios_boot_up_values { > uint8_t ucCoolingID; > }; > > -struct pp_atomfwctrl_smc_dpm_parameters > -{ > +struct pp_atomfwctrl_smc_dpm_parameters { > uint8_t liquid1_i2c_address; > uint8_t liquid2_i2c_address; > uint8_t vr_i2c_address; > -- > 2.17.1 >