Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5386736rwb; Tue, 1 Aug 2023 01:26:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlHfIKSrlmZ1t+Pw2Lg5KP2xLX8JwtQyeKE41Zl0Kkm6EMaiOhSlVXDPJtAw1x7nPgOa8NUQ X-Received: by 2002:a05:6a00:b48:b0:687:2f80:86d5 with SMTP id p8-20020a056a000b4800b006872f8086d5mr7928919pfo.13.1690878363130; Tue, 01 Aug 2023 01:26:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690878363; cv=none; d=google.com; s=arc-20160816; b=WGMmp+kI/LTBLve6kP6vtA13Vf5wXDfJEDSDbb/FEP2raua1jFdbs9LDdqO+rST9qG EZzTemJfoBB4AMqix2YXHk0ZRCEuH4IqIH3fuQhyQSqoS5rAe7eC1J3Uuq0s+b6BxlMq Hp+j1xjmGRnBCncUgwMKo/TASrlppG0LUU9GO3mo6V+LfAov82oFaMQLZ7eVxei8E3RW LMtTRbdGwVC67u7R4xt6j857FJ7iV8XyAEmYeCQEDztgkrBQFbxmB4APVxDP6FPox6PR f8e6ACMNkn1/VF1GmFdGIcGtno1MynzEz0/2oiW4/H4kbhY67ej/hmjbif636CRy/VgT PVhQ== 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=sg15YCgt5axxYVxjxWnk14RlAtwo7bcXvUXMo/kjWk8=; fh=uzQ2njGvRnNicAzoECU0n2pvDAEB0craVlwUtEtLFVc=; b=kzDamwRbP4Q4ArBGltApnsvTmvcb4Z2Kn2lTHkot43UBpD9Em3M2vunILapkNhcdFz Qc789AcPquuLniPktYwLTen79AYtAxBWB8LSClOkC02DuBuegymZhRBSSc4apJ6uAKt0 O/5OEB+/qfCK28tw9miKC3Mf7zaJ5YcqwzHP50oYulGpi5kuGHpEQyesx04qSkU0rN/b 7lW5ClMh3ifThuxT5aGoq8+g7IxW57LiS/T7WWad8FZVm9mkCFREG8r6QVTWEBHiOwsG AXob3TWWJSdK8Ca09Y/mSwRAJqjM3V401wlEbwlOql39mBN+lh9KfAUNICUpteU6okAo k1sA== 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 i127-20020a639d85000000b00557447d5721si8601452pgd.768.2023.08.01.01.25.51; Tue, 01 Aug 2023 01:26:03 -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 S230456AbjHAHzV (ORCPT + 99 others); Tue, 1 Aug 2023 03:55:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229719AbjHAHzU (ORCPT ); Tue, 1 Aug 2023 03:55:20 -0400 Received: from out28-74.mail.aliyun.com (out28-74.mail.aliyun.com [115.124.28.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BC3C1BE9 for ; Tue, 1 Aug 2023 00:55:17 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.3847548|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_alarm|0.00255057-0.000655741-0.996794;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047199;MF=sunran001@208suo.com;NM=1;PH=DS;RN=7;RT=7;SR=0;TI=SMTPD_---.U5l-U8X_1690876509; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U5l-U8X_1690876509) by smtp.aliyun-inc.com; Tue, 01 Aug 2023 15:55:11 +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: Clean up errors in common_baco.c Date: Tue, 1 Aug 2023 07:55:07 +0000 Message-Id: <20230801075507.6377-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_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: code indent should use tabs where possible Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c index 1c73776bd606..fd79337a3536 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c @@ -42,7 +42,7 @@ static bool baco_wait_register(struct pp_hwmgr *hwmgr, u32 reg, u32 mask, u32 va } static bool baco_cmd_handler(struct pp_hwmgr *hwmgr, u32 command, u32 reg, u32 mask, - u32 shift, u32 value, u32 timeout) + u32 shift, u32 value, u32 timeout) { struct amdgpu_device *adev = (struct amdgpu_device *)(hwmgr->adev); u32 data; -- 2.17.1