Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3334617rwb; Mon, 7 Aug 2023 11:45:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGP+AEPwjTA/sc4hAj+VlT+ZtfQIijsxVSLND1sPq69DZ/5MutMFZhi2AQM2CLp5AcMZHSR X-Received: by 2002:a05:6a20:1606:b0:134:149e:7b74 with SMTP id l6-20020a056a20160600b00134149e7b74mr10982250pzj.61.1691433920457; Mon, 07 Aug 2023 11:45:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691433920; cv=none; d=google.com; s=arc-20160816; b=qZMxdXs/gAo5bub7ikfX/i8r8QyPbYr7D7ETr05bdPSUh44Vq7bDbzhXdUrnA0gpiT d37IbdvlNaQ28Pgq0rb4yX2J9Cq20qQg294gMWOEe9K2FqJeIUKlaWgk0uEf7wtCtDXs Odj3e3YacDKWHNLxEUOdk3SGtTrp9L6jBp5YowKI+N/Rd5OrDeXf+DQH7ownXYTplxso /UCSvtLv0ST6JKdSgn9aPh8wNA2veY/RWu4KfiK2tPtJN93Uby/dSLtsrnQaYjl3McPG NU/XCkOK2k4iovT+nDkoB1ydoqXv1is8fKvoZOQqskl0DnFgUY+vcZkhZs7dyIXgK1cn 7gHA== 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=UUVPtQ4uffECPeWL3GR8MnvNWj95BmoZE6AwQJLdvYA=; fh=t+hei0m6FWvWE3h8ROlSj5pw/xTY3yBXufxuldTsP1A=; b=TYKN9GbVOxCPL69WTSYXIm/TYGZuOUjbKmv6INiSXX1ajezYHnWM1gndUQiaR8y/v3 2IUIreZRd79dFLaiuYtJ+ONdLNPR223S2gDkEdGx4vowuVNPfc/2q/tMKeKOj/IfrhQ/ geG+bmR1ItEKK41rpS+zACWzS6rJacFHkIv5QBjIBJwENfzl3LzzrbK45Vem2I2fK+1r 8sKlBKUvBWUnJUbS94Kb18J5+p3sB5O8Wg8qEuDol1w8GRe+P5Edm8kDeEjeDmnTqNh+ Z9bOeH7nadu4WdDKXua0g6UfoX0gJytkNzXmc4sbWA5lO2XIgRjyZKYky90oa8Bic3Dw Vuqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=JnhpwUbE; 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 r20-20020a6560d4000000b00563e0be1de6si5834051pgv.824.2023.08.07.11.45.08; Mon, 07 Aug 2023 11:45:20 -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=JnhpwUbE; 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 S231468AbjHGQW0 (ORCPT + 99 others); Mon, 7 Aug 2023 12:22:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231452AbjHGQWZ (ORCPT ); Mon, 7 Aug 2023 12:22:25 -0400 Received: from mail-oo1-xc2e.google.com (mail-oo1-xc2e.google.com [IPv6:2607:f8b0:4864:20::c2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5C7810DE for ; Mon, 7 Aug 2023 09:22:20 -0700 (PDT) Received: by mail-oo1-xc2e.google.com with SMTP id 006d021491bc7-56cb1e602e7so2880119eaf.1 for ; Mon, 07 Aug 2023 09:22:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691425340; x=1692030140; 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=UUVPtQ4uffECPeWL3GR8MnvNWj95BmoZE6AwQJLdvYA=; b=JnhpwUbEwmaB1X5eMIa1H0Ttk0AcCLltM036ifUFbLvc6yGDivsEkCFumZISCdcDMQ AhQV9+qcbVwMEM03Pjgf1D2o1DLKUssmEsUOhimspCKQ6jDnv9JbmeNHT7lrn0ixFj/r HQclzQrXsdiftsx6b1pSUD9/R6NvZvwJiezg/6QBJkytuZ6q46c1ekYhW5aQ15ByKVHe 3uIaTxEP8DV/s/yV9vbn1e+pFzKTEZaBGnekH11guLHmPJCZrf8SdadeGaxJN84+02wR 2H0VsNVHdZ4frXhUXTbICU/4wu4ujQIoq7lOOL5gfuNkyxiE7CsiarObdDICNyXL7reA sAyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691425340; x=1692030140; 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=UUVPtQ4uffECPeWL3GR8MnvNWj95BmoZE6AwQJLdvYA=; b=O+FgSsjiXYOxk9s4R9Hm48KuAtDycb5MWxEqKXWxa83wCJkTHY5jNA+uEpY4yZG1Gf z47KuZghfG/IGVpPfJmDbwGGb4NV5M05Rk4sPEGSm8LQkuMyy4JFlB/DNKf6K9VrnGoR vQjxBuW+eY4u2tsS45aVNvaj/E2+UGDymsWbGuZQDzNx1WVRfSd/nIO4eGMEmAqp3OQV 5vcmUzpSH8CgLI1TZgWcp2fDZ+fIG2DE1Ra8eXIXLB7hB150aC9txwqYcvrPdc136+m+ yA63nhLR2YsT0pMIlFHyr/vquFedOZduHdt0VEn9Z64QLGpR30E8eon6WIZ7HXX7pLWO xNCA== X-Gm-Message-State: AOJu0YyOCorMLEeXElr+N90jgCrU4bg1+ol8OavHmygX7UQAyCWK4+Wf AlQVC36W0sGgXjjtByqJ+w6rekba9fkZhIgC+Ds= X-Received: by 2002:a05:6870:7010:b0:1bb:5480:4b4 with SMTP id u16-20020a056870701000b001bb548004b4mr11226715oae.8.1691425340185; Mon, 07 Aug 2023 09:22:20 -0700 (PDT) MIME-Version: 1.0 References: <20230801020839.4369-1-sunran001@208suo.com> In-Reply-To: <20230801020839.4369-1-sunran001@208suo.com> From: Alex Deucher Date: Mon, 7 Aug 2023 12:22:09 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/pm: Clean up errors in smu_v13_0_5_ppt.c 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 Mon, Jul 31, 2023 at 10:08=E2=80=AFPM Ran Sun wro= te: > > Fix the following errors reported by checkpatch: > > ERROR: space prohibited before that ',' (ctx:WxW) > > Signed-off-by: Ran Sun > --- > drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c b/drive= rs/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c > index 42f110602eb1..87a79e6f983b 100644 > --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c > +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c > @@ -75,7 +75,7 @@ static struct cmn2asic_msg_mapping smu_v13_0_5_message_= map[SMU_MSG_MAX_COUNT] =3D > MSG_MAP(SetDriverDramAddrHigh, PPSMC_MSG_SetDriverDram= AddrHigh, 1), > MSG_MAP(SetDriverDramAddrLow, PPSMC_MSG_SetDriverDramAdd= rLow, 1), > MSG_MAP(TransferTableSmu2Dram, PPSMC_MSG_TransferTableS= mu2Dram, 1), > - MSG_MAP(TransferTableDram2Smu, PPSMC_MSG_TransferTableDr= am2Smu , 1), > + MSG_MAP(TransferTableDram2Smu, PPSMC_MSG_TransferTableDr= am2Smu, 1), > MSG_MAP(GetGfxclkFrequency, PPSMC_MSG_GetGfxclkFrequency= , 1), > MSG_MAP(GetEnabledSmuFeatures, PPSMC_MSG_GetEnabledSmuF= eatures, 1), > MSG_MAP(SetSoftMaxVcn, PPSMC_MSG_SetSoftMaxVcn, 1= ), > -- > 2.17.1 >