Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8984169rwi; Tue, 25 Oct 2022 13:33:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM43Je7EqrKwKEi3KmaMMoxQT4//v9C6rnijyO7ZHcHmQgtnGyZ7KvQHI0qAYGKg9qrmgGXU X-Received: by 2002:a17:907:7fa4:b0:791:9307:9d6a with SMTP id qk36-20020a1709077fa400b0079193079d6amr34350514ejc.464.1666729982634; Tue, 25 Oct 2022 13:33:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666729982; cv=pass; d=google.com; s=arc-20160816; b=cIeES3TVdD+Ee3iIim5+hBLOZdg9tg7J5me4fbYPsQRiQSlWaDDKvE+JdpF17nimgG Iy8nH8U0ctne9cxKEjsG1/UZG1qmMMR+n1yZRCHNMvcNjeWVaDWuOylNSOQwkGbcnBJK fF3jvUbf4xGlc3756U/MS6mAY4tiTIt4X9S8PTSDZOm8vJ3PG8zO0anjMv94YFgtwNDt V6bZsouoEFHXD4WA4y1k/SZctk1jHHzZgNCJfDxY/FlJMjaFFpyvqzZZK5vFoDVYLmVz ipZ5AarDLkDgSzyztBBPzdb20wopLyuk6YLHkqqSvqrXpb5SXe/LCbwCXjfftQYhom6q PL3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=AqZzB0GYIVPJxd/gh7FTIU1XGm9YvrSVzIFcwYbnvds=; b=Ng5CLiA0qBrC2fyBhe/ilIOe/TyORj56DBYl7qzySUOznNY6HjqaME9ay+qxR7eVfL J97cqcOZjcy0CWRnZb76VyHATdIBq2FUUE5VKqM0/womEmQbj/OYhF+g2W0hOGoQx6uj xiqWvnnNoFhb9D2fY9+YP82l6eBpR7lmOu/k11x4C5J7EfSPdJIDrMBCaWSHG5agmSq/ BGjBbB+5Jb4It/+KF85ek9P2yAaHM3Du2fmt40h2m1bBdtGf3LPDntGAScxzx4WfaHIs IK1Z9GkyJQ0J/irN8R84KAsueOGP1f51poSsrzwD5YOBdvsFwecPTSrudVWjVbtd7aK/ rxrA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=hiq0FoVz; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020a056402254600b00459c73bd1c6si164148edb.550.2022.10.25.13.32.20; Tue, 25 Oct 2022 13:33:02 -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; dkim=pass header.i=@amd.com header.s=selector1 header.b=hiq0FoVz; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232222AbiJYTm6 (ORCPT + 99 others); Tue, 25 Oct 2022 15:42:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229875AbiJYTm5 (ORCPT ); Tue, 25 Oct 2022 15:42:57 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2077.outbound.protection.outlook.com [40.107.237.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B776DBBFB for ; Tue, 25 Oct 2022 12:42:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YW4C+f2VHJ6VWlYk9Bv5v5ClHcIG8lcHyBwQksW2SJihqJYnCcqPcF6UQXZpBg3BHMYi5rK9BZQOtn6nBE9663vRo0k3vdf+bND+VzxpRK/50oerJ9SB3s39awe62bUzR6sahQ590WxDLs4DRllaMzA4V9LUicBlpvgZAKRjnadLYoyBGBLK/TQm8CSoGk3vEneTAR9ffoEox/NiFekzGmiFiscWsBW8YV8QhdjeCSLJ8c8lr3gatqP3/Vd6/LdjsbhLUyLP5hY3umeYJ1axN+s0vl7K6ERrZLp6OOBlMcZTvg1Yi5kPrwwyr//EEbUFkwspC/v1Ipk0R7va6o5gRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AqZzB0GYIVPJxd/gh7FTIU1XGm9YvrSVzIFcwYbnvds=; b=KK3Eqy2YaAKv2EjgRtrKTViWNIbyEV0e7swbR4eEzWtYuwMnVn3GV6T9J3hELbwTHyiP+NSmHRim1xVetiFXf1x9L/7btIY83whDXZmOd256fzGuet4hADuYZFQMlWrdD0NHzrCsloqXzy2aDJDbgU+YZXxJqo/o4w6DaVWB+qK7ildmy7ZKmGBBWJDp2/HUfB6doFywk9FubV9GoLH5qCIuEHxtqj9fHe+VJ0MOCcoq9ZBPiNdVHQaLSYR4dyUehBEkDnya7YCctzqvuTQVkAENoUxRn7xA71dBTIaHM7Mwj7kQyuAeDe+O/4WaBj6hBc7Ci+kkR3HQONguvk5ksQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AqZzB0GYIVPJxd/gh7FTIU1XGm9YvrSVzIFcwYbnvds=; b=hiq0FoVzCyFMyDoL7IF4LAC9iC+3aerwKe7QvMAHiGvqeOJbR5GwDqB3pECHY7NAPk96yLutJ48eBaw1p3GlPxyxEimnuKM9MUd9P662J2CPPua+kNeO9AuF52IY9c4JvWNlUZ8a6rJnpdhhsk6hwK00rZLA5NrvWyd8oILUsp8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BN9PR12MB5115.namprd12.prod.outlook.com (2603:10b6:408:118::14) by SJ1PR12MB6026.namprd12.prod.outlook.com (2603:10b6:a03:48b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.29; Tue, 25 Oct 2022 19:42:49 +0000 Received: from BN9PR12MB5115.namprd12.prod.outlook.com ([fe80::7e91:f457:9ec5:33be]) by BN9PR12MB5115.namprd12.prod.outlook.com ([fe80::7e91:f457:9ec5:33be%6]) with mapi id 15.20.5746.026; Tue, 25 Oct 2022 19:42:49 +0000 Message-ID: <4caa8083-017f-034e-55cf-321ad1a7ba44@amd.com> Date: Tue, 25 Oct 2022 15:42:47 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH -next] drm/amdkfd: clean up some inconsistent indentings Content-Language: en-US To: Yang Li , 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, Abaci Robot References: <20221025060944.31705-1-yang.lee@linux.alibaba.com> From: Felix Kuehling In-Reply-To: <20221025060944.31705-1-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: YT1PR01CA0116.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:2c::25) To BN9PR12MB5115.namprd12.prod.outlook.com (2603:10b6:408:118::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN9PR12MB5115:EE_|SJ1PR12MB6026:EE_ X-MS-Office365-Filtering-Correlation-Id: 6e82d64d-674b-486a-4509-08dab6c118e1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UCtZTNVHV6w4ZJaW/nhh/M2GsByxRKeqd3IAW6IZH4uqHE1DukHKE8nACxe3xFd3Hub0gIoS0wGNcl8MGodXLWyGvw8loGyYEOtaJYa2Egyj+/AFkTrMsUnorMhkGPM41d6l3JpHo2YqKmSGHS+Uz+VGoMT+adoB5gknBmnJ5Id0vvuTT3Cty8OZtKRAFIVO1YWWqkNb/oVD1lxq/IciDn195GI8pdqC3MQmmSnxH44Z4kMvTVMSRHizBzWtbYpyBVW7mqZjkoJjgNIazVfhVZ+yx+q8ba4W3uRYSK3yvLcbaBJO+nep1yzcifExKsUIL33rra0l8RVoGCFsW5iQ2swnG3XKo2NmbNUNxJAHyj2WfFUIGG/6PusnGjcG8p0l4TMNKm6FPHvU4WJ4J+9odruQuL45I8OoZHlHfTtReFOPMyiAFsN/WuIFFKWd7nmcue3oSDPpr3vp7DTbAbzf6N8/1ocae9mTsiyM0pEWP4oty/R5+p3oazlO9KcnggmFPappDHzoLqEVo1dF/J/CeyrCGH4ndBFCqEBP5O8le87uX3Tv6GDsrPP7UgPThMfMcBB0gj4t2KlJtk2dEjF3ESdgoZmAYyACg3KWHNScNoJZKIygJH7DoIIPdhLgWoAWac+zEi97Ic3LoO/IwC2ux42j3b4nd4JVTGF+1qwlQqaNsVs0z1h//4jItxDGPs03Uyj2J1y8Q2V3vt5SbBgye6GdbzoVyo2XjkTzCYJ0NFhAQsl7y/cuIjL4kUx0ZDfJDKcZKUfe2WBN6c6aQvD6fdckU6G8b3D2NLgKXLuWW0VzFJCerMGTrdaANSVFmLOc+8Nw/BSIUtYupSUvPrbrEA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN9PR12MB5115.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(136003)(376002)(346002)(39860400002)(396003)(451199015)(83380400001)(26005)(478600001)(8936002)(44832011)(41300700001)(5660300002)(2616005)(6512007)(6506007)(66556008)(6486002)(966005)(316002)(4326008)(66946007)(8676002)(186003)(66476007)(6636002)(4001150100001)(36756003)(86362001)(31696002)(2906002)(38100700002)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?c1loMjhraWplUnJjdTl0aVI4T1d5ZmpObmNqbW1POHc5Rmc1M2ZYcFJpajJW?= =?utf-8?B?OTBmcnV5YjFuTUF5THNXMTVkWFNsS0FoT0pRaTVVTXA4eW15b0pDOUVIcGFB?= =?utf-8?B?WnN5b0FrUmlMT2dvUi9vN1ZLVHcvNFI1K3Vma3g3bFNJWThTdDkzL0JJcDZD?= =?utf-8?B?RjN3cmdJbmdTRGFVbGVRc3o1NEtqTCswQTRmb1AreXRBd0dJenllUDF1TVM4?= =?utf-8?B?Uk1KcS90NHQ3dFhPUDBXZHVxUjV3N3hnRkR0TzhhYXFiNjVaN21FNWpCbWpL?= =?utf-8?B?ckM0YjRrci9MNkR3SkFSbThIVFlNVGhMMnRKYzJUVGs3MFRzdnVpMm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8p?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6e82d64d-674b-486a-4509-08dab6c118e1 X-MS-Exchange-CrossTenant-AuthSource: BN9PR12MB5115.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 19:42:49.0737 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: BpWXOoOMyDkgSCVPvih0c2g6S+9MA9scGRTld22iivxfRKBu0DLB/AG7pBtB/2otL4Dty0N9q5DAWG/cnkcbyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6026 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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 Am 2022-10-25 um 02:09 schrieb Yang Li: > 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 This patch doesn't apply to our amd-staging-drm-next, nor to the kernel.org master branch. Which branch is this against? Thanks,   Felix > --- > 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]);