Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp705219rdg; Thu, 12 Oct 2023 20:21:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGFlWKSCgj5DFysuAr0M55rrK4PY57mtutotokUTyq24G3bdIdtUB38pY9B41Hqk7Xuzr8I X-Received: by 2002:a05:6a00:3913:b0:692:af9c:d96f with SMTP id fh19-20020a056a00391300b00692af9cd96fmr25040015pfb.1.1697167314049; Thu, 12 Oct 2023 20:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697167314; cv=none; d=google.com; s=arc-20160816; b=OecbzqJb/ZqSX4sK0oanZeEFskodbHtPs/SqBV8zBJutEs4xNxZiPpQ9JXQ73SHsbH cPZgKw4EZrJzmcDAFNjpDYdQRjTeV0njBeSDhBDxNA4nZ+u+JOgw8lFVnz9umtr2XIEq eu1NVy4mVNXqb9YCVVy5U7UbghNxNQVDN25BBhJTLMnZD3SjIzbF/54y14bPiYFxLSI0 zZrmmR/eiywc3F6UZiiQeNWWa77+ECfC1OUTz1Tk3YCXe3j0K6WOBSsbOS86Rz8aE4PV xgghxY3pedkJZVA7y0GOa7zgCKihpEfjSFIFyVeETuPsaDK32Sg2x48aQ4kP7xCavUSC Y/0A== 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=piYdqupWbRTs0lMNRT5ncXJkNWps7C+2Fk0hEig8RIA=; fh=KYWB11+1Gj+RpUxWEULFVqDY0rYCuwOtp5etB3gHekI=; b=mcI5OwARw6XtLJWsYH9/k4VjZYwb1e2KV96WzfplfAdAV2PeeGq2+FOYBjB9TuIGFa Yu3gQZ9qz++H6gB6jB9Oh4Zzw+r+AuGl6TmmXsYikAd7VwSGGk7yYItdt16U2YQKDvf0 JbR+R7LtL3xcW1OiQVPM1ME6+GJj7p5cOvNdZsUKZCNE5jx83XFh3nbxZn4Pr5dyTMF9 Jhu+ezhPgyfFXY0gbwu7Jnm6XBaZ9Zu0E2KeNtDJ1EXniMQbqnRtcICNp8GfKCRnRrB0 6akSduWut4Sb3aL84C44Ipym78j+U4AoYjodw+sMWm1aDYdlcd7d4A68ZUZdQMW3uxXO fPxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id bw21-20020a056a00409500b00690f8ed35dbsi15717355pfb.345.2023.10.12.20.21.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 20:21:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 9D26A8249284; Thu, 12 Oct 2023 20:21:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229548AbjJMDVl (ORCPT + 99 others); Thu, 12 Oct 2023 23:21:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjJMDVk (ORCPT ); Thu, 12 Oct 2023 23:21:40 -0400 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F988A9 for ; Thu, 12 Oct 2023 20:21:38 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R571e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0Vu0XCf7_1697167290; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vu0XCf7_1697167290) by smtp.aliyun-inc.com; Fri, 13 Oct 2023 11:21:35 +0800 From: Jiapeng Chong 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, Jiapeng Chong , Abaci Robot Subject: [PATCH] drm/amdkfd: clean up some inconsistent indenting Date: Fri, 13 Oct 2023 11:21:29 +0800 Message-Id: <20231013032129.55504-1-jiapeng.chong@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=-0.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Thu, 12 Oct 2023 20:21:51 -0700 (PDT) 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 --- 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; } } -- 2.20.1.7.g153144c