Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2757057rwo; Mon, 24 Jul 2023 00:13:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlHTSVGEhW1cp6HMamJMOPniLJR1Zt5bIl9dpVf7huKixtx7pb4adDgQ5w04WZbL0opUnG5v X-Received: by 2002:a05:6830:14d9:b0:6b9:815c:1dc6 with SMTP id t25-20020a05683014d900b006b9815c1dc6mr8136320otq.5.1690182808835; Mon, 24 Jul 2023 00:13:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690182808; cv=none; d=google.com; s=arc-20160816; b=AefVLooE9BlNLaJ2f+A9yedKQCKoG6qJJEydEo1ZVYS8bBUouybzV1OP1omrpeQRF6 hn/YpO97vzZIG1xFIBld1a/bLvuQhAU8s7iG6tnsD6oUOBZTOv/I0EAc38eLJKnlg9Qe r24nzf2DLQxOBsFHRj/XgotosXpR65KUxIW2Udp4ILFY71zSKA4SHZjUKsqhlxOgFqd7 G9wKVwN8UHCzKK1a9ftjAbHjR/8K40VSMv6j7iMh+7DbzPkhpENixyFppqhnjq2j/tBK XtdLyNHIsENrJYzfDeVCk3u5OjyCPhpxNZsMJF723cIRlFTmsYVX/w1KpdiwP/xw8m9y WCBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=FPBozGfGIustiYpBe5eIrfpX12p9EEpkbUUg3Sdo8iM=; fh=8AMB//bLawnaVGsXOW0JOyIrsOOKDaCdb0xMG65icX4=; b=laI371hNswxqk/qjtbHt2Mu0oPw7bGw0dGes2dnc7HW0w0Ly7CJ2bLJyxD/rbQYqc8 w8Ja2rhyveWNiU6R7gsRQw7jEMM/7vm2A1s6pcj3U/z5A5Vpr/ftT5NhgGanhr3j/2JM nU960/CJ04E+zcVRKyJpbDJb1RMn9i1fw8jnyCGVlznVDpOES/Apx2KW/DYjLOiscF2/ L/EXwROmCNrvCvVbAIzBXNbyuiwpjWjuoHYpdMiK75ioCkt71ikDxV0n5r0dqIZQks1m TrV/nzrlVtQqL2AHppra/QjbuO4wYHCeRyRwPqq1D6a8VDKgkgyN/Ek5PzbXYWWDSnJD 4FmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@208.org header.s=dkim header.b=jzyg4Ed4; 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 s10-20020a6550ca000000b00543e36736d3si8808714pgp.628.2023.07.24.00.13.16; Mon, 24 Jul 2023 00:13:28 -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=temperror (no key for signature) header.i=@208.org header.s=dkim header.b=jzyg4Ed4; 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 S230161AbjGXHC2 (ORCPT + 99 others); Mon, 24 Jul 2023 03:02:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjGXHC1 (ORCPT ); Mon, 24 Jul 2023 03:02:27 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAA54D2 for ; Mon, 24 Jul 2023 00:02:23 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R8WLg290MzBRx4g for ; Mon, 24 Jul 2023 15:02:19 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1690182139; x=1692774140; bh=D+4P5p5qab67/2JnjNtYcP9Rkun WsCExLiGCPkJOU9k=; b=jzyg4Ed4QSZ6URKfdmyUmjgSyc+iFU+jR8RBGOeUfSo tJHjbKPHToRyMpccgA2nU98kEAsTgxrhfPaa988QNjx8IQFMO5y8kBl0yWdxwwYj bLlkJOvx5ckGDo2XlTFqLZGeQ8t9QNpLDO7ewGngQfsvztd2VUwd9IN0JPzKJVP0 c/m6jrTVcgk6oG8QSxTHOq3dj37QmtWtDzq4BSVOkc2HbU6ZBQ8aPBcAgyWPp25c 1mlQXWMdNBLmjv+KKMhL0BGaGEJAKgegBMrtIn7oSdDuQWr8EMScBP8jXC2rsbhD xU3Lt4LsoaXbicQIxt0c0KjFQBzwOftvp/TvJdRCrGA== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5EYduOiadZQr for ; Mon, 24 Jul 2023 15:02:19 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R8WLf5QW2zBRYmB; Mon, 24 Jul 2023 15:02:18 +0800 (CST) MIME-Version: 1.0 Date: Mon, 24 Jul 2023 15:02:18 +0800 From: sunran001@208suo.com To: airlied@gmail.com, daniel@ffwll.ch, alexander.deucher@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/amd/pm: add missing spaces before '(' In-Reply-To: <20230724070049.8540-1-xujianghui@cdjrlc.com> References: <20230724070049.8540-1-xujianghui@cdjrlc.com> User-Agent: Roundcube Webmail Message-ID: <7ad78e88ddb94a0811947b48b04dfb2c@208suo.com> X-Sender: sunran001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RDNS_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 ERROR: space required before the open parenthesis '(' Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c index 8a8ba25c9ad7..a7569354229d 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c @@ -262,15 +262,15 @@ static int renoir_get_profiling_clk_mask(struct smu_context *smu, /* mclk levels are in reverse order */ *mclk_mask = NUM_MEMCLK_DPM_LEVELS - 1; } else if (level == AMD_DPM_FORCED_LEVEL_PROFILE_PEAK) { - if(sclk_mask) + if (sclk_mask) /* The sclk as gfxclk and has three level about max/min/current */ *sclk_mask = 3 - 1; - if(mclk_mask) + if (mclk_mask) /* mclk levels are in reverse order */ *mclk_mask = 0; - if(soc_mask) + if (soc_mask) *soc_mask = NUM_SOCCLK_DPM_LEVELS - 1; }