Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5150824rwb; Mon, 31 Jul 2023 19:48:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlF67hYhcADQ8kauQ5wQEe3b5XRzhzLAN6Qx3V+ihRDrCkK7ubrqMu0iE2i8IyAWG0NVnc8A X-Received: by 2002:a05:6a20:a11c:b0:12c:2dc7:74bc with SMTP id q28-20020a056a20a11c00b0012c2dc774bcmr15277824pzk.46.1690858113245; Mon, 31 Jul 2023 19:48:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690858113; cv=none; d=google.com; s=arc-20160816; b=X2GIIpBGDoOLX7JI0wHhI6GkoKESVC5n9NZzTUT6u5jjvTIjlySPsVjGpgzZ6esnuJ d1zzDf08EM4PTskTtxpZrgA8NGx2AhYBpD4q1cMYCKLPfgDo2ZOPQD9McUzvhZ8rUobz sEKE602H9PxHnqatC+GI3JBJZ2lpCXf7wHbto7ImKHsKik4kqy6kY/TgSUuFos99Z6EG 6MP7oQyM9ZaFKOtsupVVICZRB11TjJJUYSHR0a2e6bM7MEuOyUCM16cG9gAL/V74Lw/M LtXUzX4xfsKj96wKpS/wTGpusvQzQq6x9Z/F/DReoFOZMM4pj5osqvboHdSc0a7Q+/8k kPzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=/jRRczzfX//FougNBOS4EtD1DJJ4idGFB93RO0iu1PI=; fh=uzQ2njGvRnNicAzoECU0n2pvDAEB0craVlwUtEtLFVc=; b=Up25Hs5nJGe/cFunweR5LBakMAUuCw4GdIDXb2cugHMZNhhtK9EIaCWimB4QN4CEUU wiWgTIKuN+Vl5KefZwMOxzS3f6JhJFqeJROlaBzgvB7QlqWOPkvCdao7M8v1D8mTpkzc CSn3/kEOJUAXkH91zjTN71BzjApHTOxsi8fDqORdp05V5hzbvo2yesAUOCE+5Zz+WbOa iOEy2jrlyNv5aWEhOwwrBI7g/5kUGSbTillaBQG8OO/Y6zh7jHTiGTiAf7EnOVb9z1ia TZvK0Hjv+3WLhlqr2jMxuTWcq5GDvVei6+7eY8YzPBHl6c8WRFviIcTDwcT8tNAh7trx fZxg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m27-20020a63711b000000b0054fe7642adesi2472172pgc.790.2023.07.31.19.48.21; Mon, 31 Jul 2023 19:48:33 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230169AbjHACIv (ORCPT + 99 others); Mon, 31 Jul 2023 22:08:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbjHACIu (ORCPT ); Mon, 31 Jul 2023 22:08:50 -0400 Received: from out28-3.mail.aliyun.com (out28-3.mail.aliyun.com [115.124.28.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15EF8B8 for ; Mon, 31 Jul 2023 19:08:48 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.4466546|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_alarm|0.0186576-0.00180561-0.979537;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047213;MF=sunran001@208suo.com;NM=1;PH=DS;RN=7;RT=7;SR=0;TI=SMTPD_---.U5DrTdc_1690855720; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U5DrTdc_1690855720) by smtp.aliyun-inc.com; Tue, 01 Aug 2023 10:08:42 +0800 From: Ran Sun To: alexander.deucher@amd.com, airlied@gmail.com, daniel@ffwll.ch Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ran Sun Subject: [PATCH] drm/amd/pm: Clean up errors in smu_v13_0_5_ppt.c Date: Tue, 1 Aug 2023 02:08:39 +0000 Message-Id: <20230801020839.4369-1-sunran001@208suo.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY 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 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/drivers/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] = MSG_MAP(SetDriverDramAddrHigh, PPSMC_MSG_SetDriverDramAddrHigh, 1), MSG_MAP(SetDriverDramAddrLow, PPSMC_MSG_SetDriverDramAddrLow, 1), MSG_MAP(TransferTableSmu2Dram, PPSMC_MSG_TransferTableSmu2Dram, 1), - MSG_MAP(TransferTableDram2Smu, PPSMC_MSG_TransferTableDram2Smu , 1), + MSG_MAP(TransferTableDram2Smu, PPSMC_MSG_TransferTableDram2Smu, 1), MSG_MAP(GetGfxclkFrequency, PPSMC_MSG_GetGfxclkFrequency, 1), MSG_MAP(GetEnabledSmuFeatures, PPSMC_MSG_GetEnabledSmuFeatures, 1), MSG_MAP(SetSoftMaxVcn, PPSMC_MSG_SetSoftMaxVcn, 1), -- 2.17.1