Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp208345rwn; Wed, 14 Sep 2022 19:09:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR7sIBla4gLqvtT9eqy7uoYOHs0yvAvNh1yK4LDZuzYOInJiEtLuQNTo7dHTOEAWfn6OJrUy X-Received: by 2002:a17:906:505:b0:73d:b188:17d9 with SMTP id j5-20020a170906050500b0073db18817d9mr26200026eja.97.1663207790471; Wed, 14 Sep 2022 19:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663207790; cv=none; d=google.com; s=arc-20160816; b=yM2Vf3SDUI7Cxvl15lqU7qpGkOLx6R2IcKjU3PKnejaGUWuwhFLseUjdx8i4bqqEf5 vdGJDtoRL+wdcof351UAwR7IG9c+61KPL2O+0cFz7WOLrGHz0jsBnVZBtuFEWKNtwVMH cyYCQxCWiGodxFda6K09MH8Izx63U/n/NCO4o8tEv04dhTrwe6BpQlp1tElE/VZJnrWS HEqbBYb66IuRPxML6zW83wc1sYp9EBp2/R+sl19TTGiJavttFeqX5iuWLrO7v9Pwq+BF jh3+BVE9wg9GNRhFM2y+BzOLl6gexSgIi0+mc9qCGFxWHdwav1lsvzAUAUFimGsDx+Qe 3kvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=V7h8BtQVe0zPnCDmvz3B3lOOk3cI9LoOgWmAqgz0G3E=; b=poqSu1gE0igY/kmR2mrAkGCcPvPIiv+rxbTNuoYJLOTiKt7Q3MHMde8RL7BwvkxmJM iVcV9oWdutEo9UXVHPPEaLp3xl47v7s2nQvdiQ/yWxeSnFsyLYqKXITBnmioayZuQ30B O/q5SdJrPN0vmTHtw4g314HrXsH4ILFpoXQjKzzkixxAZkKFQ0fFlbon9LhDcLKFiiVG jr4q37WK0gm/rBP80Kx0OiwPocQ9wMJlieRieb7TEdqauzXtm1VyP7qPcFoU0Teo1uMH Lpwz+ULVcAUlYbyCNjMoK4oajMxWYEC4Bxw3/jSTsyWsSGA9AJK+exKGUGKGMLcUC5ly XMZQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw10-20020a170906c78a00b007416895306fsi11307350ejb.645.2022.09.14.19.09.25; Wed, 14 Sep 2022 19:09:50 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230107AbiIOB62 (ORCPT + 99 others); Wed, 14 Sep 2022 21:58:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230131AbiIOB6Q (ORCPT ); Wed, 14 Sep 2022 21:58:16 -0400 Received: from out199-18.us.a.mail.aliyun.com (out199-18.us.a.mail.aliyun.com [47.90.199.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0578F8F955 for ; Wed, 14 Sep 2022 18:58:11 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0VPqLcz8_1663207087; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VPqLcz8_1663207087) by smtp.aliyun-inc.com; Thu, 15 Sep 2022 09:58:08 +0800 From: Yang Li To: alexander.deucher@amd.com Cc: harry.wentland@amd.com, sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next 2/6] drm/amd/display: clean up some inconsistent indentings Date: Thu, 15 Sep 2022 09:57:58 +0800 Message-Id: <20220915015802.59967-2-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20220915015802.59967-1-yang.lee@linux.alibaba.com> References: <20220915015802.59967-1-yang.lee@linux.alibaba.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 clean up some inconsistent indentings Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2178 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c index 10477ca52a41..47159e9a0884 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c @@ -406,14 +406,14 @@ struct amdgpu_hive_info *amdgpu_get_xgmi_hive(struct amdgpu_device *adev) if (adev->reset_domain->type != XGMI_HIVE) { hive->reset_domain = amdgpu_reset_create_reset_domain(XGMI_HIVE, "amdgpu-reset-hive"); - if (!hive->reset_domain) { - dev_err(adev->dev, "XGMI: failed initializing reset domain for xgmi hive\n"); - ret = -ENOMEM; - kobject_put(&hive->kobj); - kfree(hive); - hive = NULL; - goto pro_end; - } + if (!hive->reset_domain) { + dev_err(adev->dev, "XGMI: failed initializing reset domain for xgmi hive\n"); + ret = -ENOMEM; + kobject_put(&hive->kobj); + kfree(hive); + hive = NULL; + goto pro_end; + } } else { amdgpu_reset_get_reset_domain(adev->reset_domain); hive->reset_domain = adev->reset_domain; -- 2.20.1.7.g153144c