Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2532063rwl; Fri, 6 Jan 2023 07:41:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXsBUnwwxqg/n+UUV8s5Z1nGgrswdRogy1qFiH6EdIVO1+7CvKUIr7Run5HxwjijOwhdg3Um X-Received: by 2002:a17:907:7844:b0:7c0:eba2:f9dd with SMTP id lb4-20020a170907784400b007c0eba2f9ddmr46687622ejc.53.1673019665811; Fri, 06 Jan 2023 07:41:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673019665; cv=none; d=google.com; s=arc-20160816; b=w+JIwsKVA+DR65fsZnU43GlmpVtD9Ooqd+KqRTRQl/k2iq4quINvHEkVBmMxFgyeIx cDEi3JVHvBrmHxQO/zBX9EEnj+Sbo8zrc7mQdQmM6ZIjoz8A1Cu2hzTSvT3KHWTtjca/ /OQgsf2O+x2jCtCl5jVfk/0Tm2Yr6Tk/OTjH6s/xPf5JrPCMpf3icXbTv+/wC0qaT9L7 vU5jAdhhMpDlQCjjrnLhH971WGwkPDkJuH/OaHEFwFB6amJQg8MTGnp/FuyIKn19LF/x a+qBU5v7mj6/yeph6m3N0vHJ/29S1oxN61LFY7iIYQR1WaQsrwHiSfRz3YlETgCJ/KXV 7zmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=oiJt6s7+hbogz7Pnp3dT+g0/bOfE/wSE2iJelIqj6/U=; b=t058PQ3mIX5hc/kcCIP4w2za3BTeczCM/vCQ3qlOhGvU/ilpSjQ6VJVQMi8Mnhyxsf puF1erIhhpv/GkEqNXf+xe2Nr9zLwKnNTGC2umrOTy1xAxcxQhzcU7WcAGHRMtJrRq// PL68EQQxEM3WRmjUU3hvmrd6iY7S9qLhimG09u49snKYNo2ByxsTCksTS2ADYrg491sr KF7Y5H8an9W71m2u+XarcKi+Hwed7ekm35k+3jVBMt/kMf06wRPbtC8tJX6N/dD/YWAs FDCAqeY64TIYAU0y7UHTFnysicVzs2CQA+IzeBFmNv4SuGb7HVm3Z6H8JIvfIEJ53owN 3Mew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZDLN8+H8; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xd9-20020a170907078900b0078de51e1c3dsi1499605ejb.840.2023.01.06.07.40.52; Fri, 06 Jan 2023 07:41:05 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZDLN8+H8; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235525AbjAFPcC (ORCPT + 54 others); Fri, 6 Jan 2023 10:32:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236040AbjAFPbV (ORCPT ); Fri, 6 Jan 2023 10:31:21 -0500 Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5368873E1B for ; Fri, 6 Jan 2023 07:30:58 -0800 (PST) Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-150debe2b7cso1935081fac.0 for ; Fri, 06 Jan 2023 07:30:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=oiJt6s7+hbogz7Pnp3dT+g0/bOfE/wSE2iJelIqj6/U=; b=ZDLN8+H8kR4lAfnL9dFpNhPkExxpPDiNyX+c9Z8+BS9D0gRtkyROettmrozcJcr83S JSxz9LjVvHiTvqCTPMtYEJkLVxHbyvp46uEh9NjgS+IG2z/l1hRSxveKyIGrVkUq01wT GfxP/atYg9WZwQDaKnSnzG47Bt8Gb236gDLny5KIobdVQWzlQe+8VV8/t8g5t2lwQVFP jfzIEnxIcxB6CScqePq/tz3JevZLHNlgCvO5h9QwEHCMwTGG71ZKFyMDLvWy9J9wgPYt tCtnGSFaXoEX/cdzcKJcM4RQyDb4X0Cj/B15oiSupk262JZqZ8llZHICpArKJAtZRUo+ uV9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oiJt6s7+hbogz7Pnp3dT+g0/bOfE/wSE2iJelIqj6/U=; b=CaS3MO7D0y1i+7MeaZkkg1DULIoBviVkVTX+SK+BD2IDe+9LbAQR+rzUhq3nFcVmcH 1w8u/JZwd0zWamvI52fJhPXEW5udLA2BCdngm6BIU01gAswL3ygL9jmZpRPpfm6bwYfz pHOT/Etg/Z7ovmu54ejs3mdWQcEo+x7pgOfZGUO40Dpywj5QLXIa1wCfqQOMRJXTeU4F f2TFOT2SJTZDAz3lq4ooWn3zisQRDtPTJSeTAsPweYNjyB4iJG2Q+ByPWFrDKexaspRv xolmj4Mu2sdx4/PMVi7+ZWZ484CS1h37TovfCwTeuyLkjMI/vg/wjfmnN0CjqskrWQQI Q+0Q== X-Gm-Message-State: AFqh2korQpzDY5LWwD7hRAeZ2VE1NrNf4dtcaTuaiIFcWnnuwofuLjw3 bmQXPVldZCHO/1hLVSJ2k0jmJHFAbCZ5Gzcc2pbbHklY X-Received: by 2002:a05:6870:970e:b0:148:3c8f:15ab with SMTP id n14-20020a056870970e00b001483c8f15abmr4679795oaq.46.1673019058265; Fri, 06 Jan 2023 07:30:58 -0800 (PST) MIME-Version: 1.0 References: <20230106013232.25947-1-yang.lee@linux.alibaba.com> In-Reply-To: <20230106013232.25947-1-yang.lee@linux.alibaba.com> From: Alex Deucher Date: Fri, 6 Jan 2023 10:30:46 -0500 Message-ID: Subject: Re: [PATCH -next] drm/amdgpu: clean up some inconsistent indentings To: Yang Li Cc: alexander.deucher@amd.com, Xinhui.Pan@amd.com, Abaci Robot , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, christian.koenig@amd.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Applied. Thanks! Alex On Thu, Jan 5, 2023 at 8:37 PM Yang Li wrote: > > 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 >