Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3322894rdg; Tue, 17 Oct 2023 10:54:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE/k5v6T2GeidxtYSwKXMaYUdcE98UnokLlFO1yItkkxGaDnafpRH8Vkd02uVY1Q1MVwIJ+ X-Received: by 2002:a17:902:f1d2:b0:1bf:d92e:c5a7 with SMTP id e18-20020a170902f1d200b001bfd92ec5a7mr2546420plc.28.1697565293333; Tue, 17 Oct 2023 10:54:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697565293; cv=pass; d=google.com; s=arc-20160816; b=WPXqOfhbb3mnx2r+ZilN6ws2uFG9Vt8CLo1Sk282+90kDI8Yj4oBOdeF/XzbzVTTPf jFWh8wnhZvJvbngTdPPFRHa8uk2tsr0EOkgbub7fm+ojJD+EVFyVctfTiq9l28EhQ8aL uqPWDX4Nss1hISk4yEsboDGwJb2C4SVE+aQxY8M00/uC7bGTABCnwgoPP8Yw+Nb4/LKz zaCFdv/v7lXW4g4lsJj6LiS6cKtjQ384XsnkkofOTupbs8xU9lFzm2ue1yikvodyebIz jOIVyAoMX0/JqVhT6PAV0jDixoHn7pxiYlZGZVn3WCtUj9p/dx/MSE/Wr9YzVjulizAU EMjA== 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:organization:from:references:cc:to:content-language :subject:user-agent:date:message-id:dkim-signature; bh=dd36NJmPeJdJ+oQn7SaPNX+NhfRrJ3Z5xnAAtkAB9ps=; fh=vtvIoUFGeVme6NlIUjG+yY4f2NmGncMtuyuSCQS3L1g=; b=b666TDJ2uv/jOB6WtsvftSd9BIdr5D2pcJzxJj8jF/ZdOx4lFsaOw6WBhmGznORAZ3 hbEF/gn4cwDfO8Ot+ETppzfc1q7eALz9TkUVvOOq46rPcKQi0laBr+dT3MnnKd5viET7 ICZHt2biNrhjdgth6V5N0FkKI1RXlQhKL8ddGNv6yI86zm1MmDF7/+6rEV+VUVX/oP2x 0+o/ilv7GWcMiFe3kblH32uo5IO//3wkEk+GnybRYtj9rsFwVUuyK1SkQfMrDYd+pKZ1 exmaieDDWyZXG1NpQOpGoz4Gk4jCEWRqShjx0r1vWsgVA3SVwV0lia/liuGlsTvMA0To g+9w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=AqUqptoy; 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::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id x18-20020a170902ea9200b001c9d4f08c3asi2205491plb.277.2023.10.17.10.54.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 10:54:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=AqUqptoy; 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::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id B03E2801BCAC; Tue, 17 Oct 2023 10:54:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234954AbjJQRyf (ORCPT + 99 others); Tue, 17 Oct 2023 13:54:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232025AbjJQRyd (ORCPT ); Tue, 17 Oct 2023 13:54:33 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2074.outbound.protection.outlook.com [40.107.220.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F36183 for ; Tue, 17 Oct 2023 10:54:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RKfFWVFvZ3ryT7MvJrmCiTttbB9Gmm/0yqwrcb5uJpSU+Q1fS/2pQHLEv2YmyMdIp7Y+uAA/riVSh4BQQBRqQ/miRV6/5LVEWlnL18izsTBHaVNSOCfddWy38dInqG4bWJXi05Cy77VvOmldQ7jNJcrVjlfjFQ3y/zy1C02vWB6DDXs68qkTn0WeFQtfKjDGLJMboJoZL3xd5qJ8F6BaPa+XmQW2cz4ASmdtjprosIvR+tMCZAztPyfnGqlYlXR3p/YvUIMSJHSCV83VfGnrD8k4Nc/bt+YTQiG4K0uSz8jWaIF/yv6CA1M0qZ1Jh0gxYHU1w9WirxB+IiM+NKpUBA== 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=dd36NJmPeJdJ+oQn7SaPNX+NhfRrJ3Z5xnAAtkAB9ps=; b=GoDOCU9fd52h4jBOEEOldqu2o++5wYA/3RgS9T7RBZESu7QOGbxDjX0pjv25u0IfRq/LBKk1Q0xtpyz1N0g065CFz96tLybglLoBcDvKQ3tI8U2EzqoQNtwV2dzKQMSG8ccHfzksOX5V/MJlO6M5XI5EUE/i2Ee4bNkCdFfVTlBddjMFTdev8xaclgKAid5mWJwil/z6e03ikHslG4JlHp1TOhOihV6+dnGEBb59nckkth2Lsmm42AXucOoJqb/B9Zkq2gJWmlvvKXYBo9vlpU+M04kKUYUjZK4jD3i+ZdwsPfl5noHPvNcd42jRUk3IMxB2Tnje+nNXIDgMCHmjVA== 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=dd36NJmPeJdJ+oQn7SaPNX+NhfRrJ3Z5xnAAtkAB9ps=; b=AqUqptoyABM86kXTS3J05/eZlMY7DYInNZPPRU17MANbTDaaQGUOr6oYdEs56xKBUAo0V8HGoIFev3UFO9KGMtpISVrn6rMTMx4ePUljAi/iLpfDRkbOYN4KqnxlQec6lacuAs8acT1FPTJEfvv3faRAz4Gi/wPI+tkmoapwWmA= 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 IA1PR12MB8466.namprd12.prod.outlook.com (2603:10b6:208:44b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.47; Tue, 17 Oct 2023 17:54:28 +0000 Received: from BN9PR12MB5115.namprd12.prod.outlook.com ([fe80::2e40:ffd7:e752:644f]) by BN9PR12MB5115.namprd12.prod.outlook.com ([fe80::2e40:ffd7:e752:644f%6]) with mapi id 15.20.6907.021; Tue, 17 Oct 2023 17:54:28 +0000 Message-ID: <54dfc01b-bd6b-4cf1-887a-749b45ede088@amd.com> Date: Tue, 17 Oct 2023 13:54:25 -0400 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm/amdkfd: clean up some inconsistent indenting Content-Language: en-US To: Jiapeng Chong , alexander.deucher@amd.com Cc: 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 References: <20231013032129.55504-1-jiapeng.chong@linux.alibaba.com> From: Felix Kuehling Organization: AMD Inc. In-Reply-To: <20231013032129.55504-1-jiapeng.chong@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: YQBPR01CA0144.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:1::44) To BN9PR12MB5115.namprd12.prod.outlook.com (2603:10b6:408:118::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN9PR12MB5115:EE_|IA1PR12MB8466:EE_ X-MS-Office365-Filtering-Correlation-Id: 25ba13f6-093a-49ac-8ca1-08dbcf3a1bc5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o07t05xZuspgsHAWziIgihCQeFdh088e13Jbhsk34GeFEqqUt5KOdXxt2SARmv4oj0Zc8SqFXbsrbcg/yaL8AyB+xQ0BPJ8A1CUiEXPGSgiNhkssuGnLRqwoyRpWUZjsutVx97cn+unD54MoCk0rbKJI+sr8xU7byLwrojXk4UkbVIYUx/BJdyzJbsMK3kDH2cYk2oUtDyuKI4tcW2eh+Wk+GpRUQzl9mJz3nhlpjVL7Gt8jWg8MQVkJKRUNJ8vH2Xn8EJ1LGqmLlS3RODqtQVJpGWporwkxj0KFbLkg8JUvTVjgKZ6vANjdst5Izn90vSPxwAsmtXnQTUvDGO4Zy4WUZJGuyl253HoT2Ly4v4DJLamXCAW6V1NWuCQ4UGktod6HNmSJtqc1C+y/PtGoim34yqJo1klUA5dC0D9aYAmvysOMHkJKsdjYBuwC7XyumrIEVO0Ugq7mz6zI3Ke7aBBW/KNd1tes1uDoO7UCzNi7WYoB3fxd2+m8t83qzzsl6PVMoSfyeKkJs+aGv28snbQjMx2qEPbWQh3fDUijStlmAbMpnAxldDSQNNVuY9BR6efk21JdOweVfoGm9fOqwbi9N0fb2Lrw2ZyUPNnaiLlfG3n8xUnlfkT112l/3RySUJoTl2fLsSi9xGg9UJPzzQ== 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:(13230031)(39860400002)(376002)(136003)(396003)(366004)(346002)(230922051799003)(1800799009)(451199024)(64100799003)(186009)(4326008)(8676002)(8936002)(38100700002)(4001150100001)(41300700001)(44832011)(5660300002)(86362001)(31696002)(2906002)(6506007)(36916002)(53546011)(6512007)(478600001)(6486002)(966005)(6666004)(36756003)(31686004)(83380400001)(26005)(66556008)(316002)(6636002)(66946007)(66476007)(2616005)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eDhSdXNhem93LzlCZXBxeE1BanNpaGs5eE93cFpxbC8xZ0Nrb2UrOXNQVHc3?= =?utf-8?B?dUU0MGg4ekxTZ1Jjblkrc2hnOWFQTnRUSHVteTJ4SDJQU1phYjJib2JYd2ha?= =?utf-8?B?WnEzRndxeW1lSHlVTHQ0UlAwQWg5d1QzQ2dMOW1oR0JtYUtabERNc2NhanN5?= =?utf-8?B?WXU4dDBzVlJnbmp0cEJRZmdpSFcybndmeXdiY3U1WCtYSWhIM1V2R0F5cHZK?= =?utf-8?B?QTNtLzlUY1VYU1l4a1VyVCs3enBnREVEUkNaQ2NodWM0aGJFZ0dNVzFHMXVz?= =?utf-8?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My9OUVdCR0U5aDVzeU8xSm9GSGJjUHVV?= =?utf-8?Q?0KePIYfG7KnOI241j8pBvR7ZM?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 25ba13f6-093a-49ac-8ca1-08dbcf3a1bc5 X-MS-Exchange-CrossTenant-AuthSource: BN9PR12MB5115.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2023 17:54:28.5426 (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: 28sAib4cUdduX6/kD6tu4K0UmAFiHNqMTe3My+sd2RlbtzWReiNLBlAGiI8pAT3URAxbVaXCbuPshU8GGSiYgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB8466 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 17 Oct 2023 10:54:50 -0700 (PDT) On 2023-10-12 23:21, Jiapeng Chong wrote: > No functional modification involved. > > drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c:305 svm_range_free() warn: inconsistent indenting. > > Reported-by: Abaci Robot > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6804 > Signed-off-by: Jiapeng Chong The patch is Reviewed-by: Felix Kuehling Applied to amd-staging-drm-next. Thanks,   Felix > --- > drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c > index f4038b33c404..eef76190800c 100644 > --- a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c > +++ b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c > @@ -302,7 +302,7 @@ static void svm_range_free(struct svm_range *prange, bool do_unmap) > for (gpuidx = 0; gpuidx < MAX_GPU_INSTANCE; gpuidx++) { > if (prange->dma_addr[gpuidx]) { > kvfree(prange->dma_addr[gpuidx]); > - prange->dma_addr[gpuidx] = NULL; > + prange->dma_addr[gpuidx] = NULL; > } > } >