Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7941228rwi; Mon, 24 Oct 2022 23:44:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4soyUibxSAcqOtzGkU8laG9c+B28pmgMDjUO/ebuFyTCXMfo5bYv7nIHPT00IcdCbwAoy1 X-Received: by 2002:a17:906:fe45:b0:788:15a5:7495 with SMTP id wz5-20020a170906fe4500b0078815a57495mr31494134ejb.633.1666680267601; Mon, 24 Oct 2022 23:44:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666680267; cv=none; d=google.com; s=arc-20160816; b=lepwLNhoA+/08z04uny5RQp8rMFSq55mmo41ZqW9gxfpq/JtkIDDIWjJ5i+ND/c9j4 rOew7EnzCQq9++cAO9A7GPyPPp4Q41jcXkQ3guMx7mmTmx4BCooYz+SLoj7dn+b1VmLb /V+cIigQprzkrvRGCzsTQHCcD2lCZ0+NhIaxjIGs/N/k+3VdIcONEOi3EMDIeEt2sHTk LlpXnH3aj6/XZT2hdw5OvB5ofuolz697p+3K49fFTHwwBNLReEDr6p/tePyEiyVa1q9Y XiMSkjIMndjL8c5wgzJliQLbkm8B4E9xSGbMQ46peeqsqAq++9flD5+5XlXJCEb420Bi ETJA== 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=ge/0uR1+QU51G747dr1WShEvy5SHgWJoJ11uFyrw2Po=; b=jI2OOu7yBtnfyoDWaYoBCYsfdwVUp01lBicWgqM46aX/HoHIUtpWDPS8UBUBxR8jjU SqIEB64Lo87bLdo0BxF7buGJiolzpA7HEp6509LKyA9kSTwZNTExRqOD1wG2XDipprXu jnx6x23mLKsnDvoa7RUUBd3xP5qF3rxdbc7U8BCf0DRCaKJdyf2F/XYWAp1aUcEU2K/b h1ZpzwNvLU+s0uvbuzXcAbXL9FGTfuI4Sf/JKezSIqC6eBOyDfQD+fMbLben5GcH3PYt J3cEv7Sy6n/Kc4PsZBaEKH8Pj2Kh3NUlQf7412zVZ1YOWJef9U3YwGOsFjmNFEaknoeS MO/Q== 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 dn16-20020a17090794d000b0077b2e822b5dsi2372336ejc.674.2022.10.24.23.44.01; Mon, 24 Oct 2022 23:44:27 -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 S229544AbiJYGJz (ORCPT + 99 others); Tue, 25 Oct 2022 02:09:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbiJYGJw (ORCPT ); Tue, 25 Oct 2022 02:09:52 -0400 Received: from out30-42.freemail.mail.aliyun.com (out30-42.freemail.mail.aliyun.com [115.124.30.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 884C91CB16 for ; Mon, 24 Oct 2022 23:09:49 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R151e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=11;SR=0;TI=SMTPD_---0VT1bVx1_1666678185; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VT1bVx1_1666678185) by smtp.aliyun-inc.com; Tue, 25 Oct 2022 14:09:46 +0800 From: Yang Li To: alexander.deucher@amd.com Cc: Felix.Kuehling@amd.com, 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/amdkfd: clean up some inconsistent indentings Date: Tue, 25 Oct 2022 14:09:44 +0800 Message-Id: <20221025060944.31705-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,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED, 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/../amdkfd/kfd_migrate.c:331 svm_migrate_copy_to_vram() warn: inconsistent indenting Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2537 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c b/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c index 20d6b2578927..cddf259875c0 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c @@ -328,8 +328,7 @@ svm_migrate_copy_to_vram(struct amdgpu_device *adev, struct svm_range *prange, dst[i] = cursor.start + (j << PAGE_SHIFT); migrate->dst[i] = svm_migrate_addr_to_pfn(adev, dst[i]); - svm_migrate_get_vram_page(&kfddev->pgmap, prange, - migrate->dst[i]); + svm_migrate_get_vram_page(&kfddev->pgmap, prange, migrate->dst[i]); migrate->dst[i] = migrate_pfn(migrate->dst[i]); spage = migrate_pfn_to_page(migrate->src[i]); -- 2.20.1.7.g153144c