Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1660525rwl; Thu, 5 Jan 2023 17:39:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXsHJJIoQiGvtOpTGxhKdlr2f671mtFekuoCXkCLdNpSHYQMGZhqh/pgc1fa3DO/NCtMT8Dk X-Received: by 2002:a50:fe86:0:b0:48c:bd9b:1fa4 with SMTP id d6-20020a50fe86000000b0048cbd9b1fa4mr20222452edt.10.1672969178617; Thu, 05 Jan 2023 17:39:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672969178; cv=none; d=google.com; s=arc-20160816; b=rUP8EX+Nt26CClygDFPjFuJAXskL+gMnaxYWteiQUQIwfACA8ctsXRcV/lijGv5KBP jQ9IlOw9144/stoLNXSLtdTK4ISgt2qtW49JBPu/2sohfHBJ9dWk6Bzz6EeVn8ZXfPtl Zjg+jPdSEZ4OYaUp2L5G9P9RYOCoahAbetPsTqYlK9z3ovpj8ANGsKUW9flQjJXUB0wj DFeJFtz7CmwccT/G42l5YCT7xYnR/WLSVqX9jJ4EQwYs6iw5mufc5p8gyp+TR6xxCk5Q rYYsuheMgmBt7G+WWkQrN8Imk3POdx5Ui+Jf7a1Y/Z0GrFrkmtvkvATng3cHFYsIC7i/ 1m5A== 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 :message-id:date:subject:cc:to:from; bh=ruYurV5wNAar+JWYnwvgpFdPrHTvyxUhdXhBKfIVtt8=; b=tBBRA1iOSIV2RN7reFZ2S8YPeYD5B/CnEmPb9GgkZWCDEpa+3bEkYLIzesUbfc6VQo xWXY0ZDEx1Rpg5qMnVwKX6I5j0OnjNy31T/FZz+WYndTfoZTAZBhIwUIUCggOJBrGi2Z H7FIfYUHN0Hd4dy/XY4NuB9OigyFWNXdGA4vnJZI2BWZG6oX2o/hcoJfq0anF38qngz6 xdWHcXhSgptcN0yQq5GFFE0Hkw6u5dDv57yakqTEKHWndUe5l8c/zGg0ys7swNZqXEk7 C7LxwG9fIzdYpalinZcJF5FEH2ZpOkOeZL1tT/q52u17zThHFZ7rFIPCNwpOHmDXmMN2 Y3qw== 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 z5-20020aa7cf85000000b0048e913098c1si10566643edx.398.2023.01.05.17.39.08; Thu, 05 Jan 2023 17:39:38 -0800 (PST) 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 S229652AbjAFBcq (ORCPT + 55 others); Thu, 5 Jan 2023 20:32:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229732AbjAFBco (ORCPT ); Thu, 5 Jan 2023 20:32:44 -0500 Received: from out199-10.us.a.mail.aliyun.com (out199-10.us.a.mail.aliyun.com [47.90.199.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C659657B for ; Thu, 5 Jan 2023 17:32:42 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R551e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VYxT.Sg_1672968758; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VYxT.Sg_1672968758) by smtp.aliyun-inc.com; Fri, 06 Jan 2023 09:32:39 +0800 From: Yang Li To: alexander.deucher@amd.com Cc: christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, 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] drm/amdgpu: clean up some inconsistent indentings Date: Fri, 6 Jan 2023 09:32:32 +0800 Message-Id: <20230106013232.25947-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c 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_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, 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 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:65 amdgpu_gem_fault() warn: inconsistent indenting Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3639 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c index 00edc7002ee8..ed1164a87fce 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c @@ -62,10 +62,10 @@ static vm_fault_t amdgpu_gem_fault(struct vm_fault *vmf) goto unlock; } - ret = ttm_bo_vm_fault_reserved(vmf, vmf->vma->vm_page_prot, - TTM_BO_VM_NUM_PREFAULT); + ret = ttm_bo_vm_fault_reserved(vmf, vmf->vma->vm_page_prot, + TTM_BO_VM_NUM_PREFAULT); - drm_dev_exit(idx); + drm_dev_exit(idx); } else { ret = ttm_bo_vm_dummy_page(vmf, vmf->vma->vm_page_prot); } -- 2.20.1.7.g153144c