Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3697521rwo; Mon, 24 Jul 2023 15:27:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlECjFCYu8/L9+3ERpeQoLT68sFY4aNlWDpQksRvsVXwed8pGdUZYN/37SsWD66iFLbc6OQA X-Received: by 2002:a05:6808:2023:b0:3a1:df16:2eed with SMTP id q35-20020a056808202300b003a1df162eedmr13586609oiw.30.1690237642616; Mon, 24 Jul 2023 15:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690237642; cv=none; d=google.com; s=arc-20160816; b=hz1vg9hiv+6HKUtXtpk1oDCe9FjcBX8ciF+ZVurgJeqV9sMME3fr6aCWm0Ih5R4DCT iX5b7tDkJRBPSKttOugk4aSCpek9Jri3+MRqn0BhIfv3YpHGwJuV295yMmuc9nDTwFBO 855dfXeTMe0wGZ+xw15ckcZ/m3I9scceBPcbo8hMHrYXglS2lVE8gDO9bgDCMspeQOjR 220ovEbi0lulET1gfuob5fmnLnWuDRwnmNnRQlUL6gFgs7UtmLHltCJqEjqdeYpqzvEW +YpiOpjVz1ncchbcvLmJigj5D4JDU8yCf6sQC7BSiu2PWy7pmCz2nswekdghpILGBVr8 91hw== 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=8NJFs6oMV2v7s/6JWLw92i8k8fJbTsKr3ji5S2m8KS0=; fh=5uMgb3FjuzEN2hx+/gHTXgNLDhaZ51PB3bSZEXlWkNo=; b=mfwX7bAAaq6SpL4m96JKLsn6fn8NON0TE3n32zMZQa2KKU3XI+q8JYBTlVQhGQWAbQ tB+6u8mlfP6iA0WVE507MMOzmpsihoT4D6MCdXdE+9CjIAytegtahldhGofr1BVuxadB /jkkNV7ztYsAzIWHeMnkLWNCiEneMCGIYCM2158NcPriVrcft/AdNrJEsiZ02AqO301/ 9Wnc6zVxSl3JVHk3YyjpVSMYnGiNqrMgfQPzE1NyaMCwNAZ30o57Imd1JbuMbjMb8hy/ QeNZbph1546RxpRpZEr+QJOVhCBqp65P80hJ7AQZq/2HccrYI9Bb3xbssb/YucXF6Iyh 2Hcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=iRhyHEHT; 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-20020a17090ac38b00b002680c21ca6csi4296593pjt.95.2023.07.24.15.27.11; Mon, 24 Jul 2023 15:27:22 -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=iRhyHEHT; 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 S230365AbjGXV6i (ORCPT + 99 others); Mon, 24 Jul 2023 17:58:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjGXV6i (ORCPT ); Mon, 24 Jul 2023 17:58:38 -0400 Received: from mail-oo1-xc2b.google.com (mail-oo1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44D5D118 for ; Mon, 24 Jul 2023 14:58:37 -0700 (PDT) Received: by mail-oo1-xc2b.google.com with SMTP id 006d021491bc7-565f3881cbeso3407857eaf.2 for ; Mon, 24 Jul 2023 14:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690235916; x=1690840716; 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=8NJFs6oMV2v7s/6JWLw92i8k8fJbTsKr3ji5S2m8KS0=; b=iRhyHEHT9v0N25GBiANzkyyDiU2tkhSDVDb+ndq32RtThI/B1SEelfS7MJletWVxMs xHSzY/5cMtImbSa3tDKQv3FNId4sQASFMqVIaAANlenBUZIgne88uJuRXqN/PDEuDwS0 JxX3JA/B8lOOaQFrErfISUrx08U/LwiBB3DMUIVIykUhjmtzyOWSC+KsD+mkvJM0aDUQ qmyCQqAThsL44UtNgdztyMHKrQwp90hHcYHlzeFdNZq9oqTJZYQz2JD5ocXRg3Jd3eHc y2PadWI0ZL0YSIAIYRIKHLW7YtgMoHMZ6pSO3C4t1v1wVLbL4Gwa/jvrYOwwz4TSoAfE xHsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690235916; x=1690840716; 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=8NJFs6oMV2v7s/6JWLw92i8k8fJbTsKr3ji5S2m8KS0=; b=epIGGYiPgTcTVe++5N4LL5dWsFcYx6Ro3R+o6T+o9ZsXfvIc2+CpXmLgqsv1SbslPO o3x5ozjbd//TPpk09SKQsLkKMcfT3UuB1QQPjtk3RMAZvU1mtkcp4q3ONBB2KKEYgDKw fatoQ2NqavUKjcxVIqYD6fTOZDT9CYbAPHpxOJh30TswVjKmclA+OI729WtARPyo2dig YrBsXqlgaHwX9sPwRGlnleEBX648eCio3Y0FN46yTfNgely1aZBU11jiqGZXyHvoN95J WvSJAby0P3FXTNXn3ft/AhHmIkM1IoJa+9xpzXRWCGcVUuVJ+Dfz4S9t08n+v3Y2fFez 5PJg== X-Gm-Message-State: ABy/qLbBEHh7MQVWK0VWjTggwfja1JvmepbGg5IQJp2uDVLIlkDHoz4l LDJuW2yezwOE4FjBAQs0YsdZYqSH/XM0MIPmHLY= X-Received: by 2002:a4a:750d:0:b0:569:d46a:5c1d with SMTP id j13-20020a4a750d000000b00569d46a5c1dmr4477416ooc.4.1690235916477; Mon, 24 Jul 2023 14:58:36 -0700 (PDT) MIME-Version: 1.0 References: <20230724083344.9285-1-xujianghui@cdjrlc.com> <7e638628f942fe7989fe2da3da537c28@208suo.com> In-Reply-To: <7e638628f942fe7989fe2da3da537c28@208suo.com> From: Alex Deucher Date: Mon, 24 Jul 2023 17:58:25 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/pm: Clean up errors in smu_v13_0_1_pmfw.h 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 This doesn't apply cleanly. Alex On Mon, Jul 24, 2023 at 4:57=E2=80=AFAM wrote: > > Fix the following errors reported by checkpatch: > > ERROR: trailing whitespace > > Signed-off-by: Ran Sun > --- > drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h > b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h > index c5e26d619bf0..8ec588248aac 100644 > --- a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h > +++ b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h > @@ -30,7 +30,7 @@ > > #define ENABLE_DEBUG_FEATURES > > -// Firmware features > +// Firmware features > // Feature Control Defines > #define FEATURE_CCLK_DPM_BIT 0 > #define FEATURE_FAN_CONTROLLER_BIT 1 > @@ -92,7 +92,7 @@ > #define FEATURE_ZSTATES_ECO_BIT 57 > #define FEATURE_CC6_BIT 58 > #define FEATURE_DS_UMCCLK_BIT 59 > -#define FEATURE_DS_HSPCLK_BIT 60 > +#define FEATURE_DS_HSPCLK_BIT 60 > #define NUM_FEATURES 61 > > typedef struct {