Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5475673rwb; Tue, 1 Aug 2023 03:17:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlF9MCk9bLn7nzeWRo1VHG9Kursq/DtjHnptu3S5EUZ6KxBYbn+NhvvONgENge2GADlqEzf2 X-Received: by 2002:a05:6a20:151:b0:137:47d0:b76b with SMTP id 17-20020a056a20015100b0013747d0b76bmr11545791pzs.26.1690885074309; Tue, 01 Aug 2023 03:17:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690885074; cv=none; d=google.com; s=arc-20160816; b=MFruHKnHsaKqSPdC//yMewmzFZ5968/GV7easq35i5lkPo3AYOfWSunSrKgkjNZQo8 3j2xzO4w6yv85I47z+jwRhay61O6W4yAhSFF1vlRWyWAJQPUljwDa8zh0Px/J5n8/Er7 0U7kljnTk9l7o6ojsm9XN/SI6ZJACDUV7ZVCtdmFY3vARG8TqrKaoY6kmjzwXvokks+d /O+4tPHOz6B9ThsYVPHPqe3uKAXvz9ilyDrTcc9EF7W1YDDerIHp8zXS7+spE83OPT94 hdMZ56emEBzLa+NLi/+CVNFOeCIsPa2Val6RjBUfBR9P31hWqkDqAheoeScjo8q4mg1d 3iqQ== 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=BfDrT3OPcd5gjlhRS1ZCjjGK4cwBq3oP+9Ad5+0vdRc=; fh=uzQ2njGvRnNicAzoECU0n2pvDAEB0craVlwUtEtLFVc=; b=QVR7olrzhfL4xPKEIGMi8/ANBlA0QyUSDRXTHyq8pnrQhPiDOqmMJbvjB3gc3K5Aam tDaAP16IJrgDQ0AQff3t8RvilkDz6Ca790pkfk2GMy/CwZaSI2DI/4zPsdcjvjtWAOZr iD34o/i2nz3KmTYWBkHUYlo9NEv33YjJcs75Il1bsEAmB5tNizFafXLRoaGFl0Cw0crn j9XRZnyBaSn7oXM9Ua9z/oM65iHGY5gsHpxdYVnuyVS13FOk5M2gS/KMDZtFwsIIEEYl VM0jZoIV8lMV0aGxRvL+G/86wO6PzSKHe7/hscdDqKqIBg4HrLzi8menjdFalVk9QKlg DWqg== 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 h4-20020a056a00218400b00686ef19c4d2si5216947pfi.325.2023.08.01.03.17.42; Tue, 01 Aug 2023 03:17:54 -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 S232896AbjHAJYK (ORCPT + 99 others); Tue, 1 Aug 2023 05:24:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232883AbjHAJXu (ORCPT ); Tue, 1 Aug 2023 05:23:50 -0400 Received: from out28-93.mail.aliyun.com (out28-93.mail.aliyun.com [115.124.28.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 331DC44B5 for ; Tue, 1 Aug 2023 02:22:23 -0700 (PDT) X-Alimail-AntiSpam: AC=SUSPECT;BC=0.6030169|-1;BR=01201311R211b1;CH=blue;DM=|SUSPECT|false|;DS=CONTINUE|ham_alarm|0.122626-0.119945-0.757429;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047198;MF=sunran001@208suo.com;NM=1;PH=DS;RN=7;RT=7;SR=0;TI=SMTPD_---.U5qaegt_1690881734; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U5qaegt_1690881734) by smtp.aliyun-inc.com; Tue, 01 Aug 2023 17:22:17 +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/amdgpu/powerplay: Clean up errors in smu_helper.h Date: Tue, 1 Aug 2023 09:22:13 +0000 Message-Id: <20230801092213.7360-1-sunran001@208suo.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, 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 close parenthesis ')' Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.h b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.h index 2a75da1e9f03..83b3c9315143 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.h +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.h @@ -194,7 +194,7 @@ int smu_set_watermarks_for_clocks_ranges(void *wt_table, #define PHM_WAIT_INDIRECT_FIELD_UNEQUAL(hwmgr, port, reg, field, fieldval) \ PHM_WAIT_INDIRECT_REGISTER_UNEQUAL(hwmgr, port, reg, \ (fieldval) << PHM_FIELD_SHIFT(reg, field), \ - PHM_FIELD_MASK(reg, field) ) + PHM_FIELD_MASK(reg, field)) #define PHM_WAIT_VFPF_INDIRECT_REGISTER_UNEQUAL_GIVEN_INDEX(hwmgr, \ -- 2.17.1