Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1788918rwd; Thu, 1 Jun 2023 23:25:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6qAss3LEx91WOoS9OP28Rtks4nzl5P1FkXGrvE/MQ0dWbqwuwRVaHK7BbzXFN53U5H6NEB X-Received: by 2002:a92:c08b:0:b0:33a:b6ca:c4d3 with SMTP id h11-20020a92c08b000000b0033ab6cac4d3mr7918411ile.12.1685687122271; Thu, 01 Jun 2023 23:25:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685687122; cv=none; d=google.com; s=arc-20160816; b=HOyq22lbRrd3WLoWQ7k7aZ5AvN1EJLeY77AOMsy0YpA2f2SEXOwNqa6howX6a+kiLb ufzhrCLcmdrMjqdivCzAYtMS+k1b3ThY8jGTAp2bIx7zfYEDLmVMsBGZF85ko3VF/v4y l8N3lAFO9v/hC8gO144u3101JDRTTKeqi9JvCikMcpulo7k76DnauO9v4bujL0nZr3Db QalRdPYYkqbnDcNe0jugz0KWSjlA2NK2AcsD79sZ1jnmo/Qu+9IkbMWia63wZBbwZUye neNCjIbJ68So5KhdzgfPWURpmHphGod/TxbtjIMjqIKD7InHcjXBxNPzniUAFFGddibV cKyg== 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=1lAjAYWs9T96FgYO9ULxl1Bc3JSpbEA/+EJxSXstzS4=; b=tfdiutjfQVn4Y0bhnFlcNM/iHHbEdgzKJeCeTkswiGRttIveXXadeMhcksggmAdNQt K69DgsEzNddlyHLyr6xFYqaJZNjhCjehJwAmkmf+yKwKKEkq9OBXpVBp+qkSUfraJFPR doQObtydxYAYeigccL0jDoNR7+Zz5csuVhQBeQca0fMkqNfuvECygukqiMkoNoJ49Bn4 kn02326UgwDrRMGXUHPWO4kgOcDmcI4BJ5Bqho5GHOSWLAQfpdn/0XYamQz0Yex5Sqj5 +1e4EWIpjfQMWRKICzb9y6YrkTTEJdiwF6I/G2fi6BHJMKAkYsN6c3KTmSXWm2A5JXLB twfw== 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 f30-20020a63381e000000b0053f327d0321si492298pga.323.2023.06.01.23.25.10; Thu, 01 Jun 2023 23:25:22 -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 S233590AbjFBGRK (ORCPT + 99 others); Fri, 2 Jun 2023 02:17:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232558AbjFBGRJ (ORCPT ); Fri, 2 Jun 2023 02:17:09 -0400 Received: from out30-110.freemail.mail.aliyun.com (out30-110.freemail.mail.aliyun.com [115.124.30.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 735EFE7 for ; Thu, 1 Jun 2023 23:17:07 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0Vk8jRyz_1685686612; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vk8jRyz_1685686612) by smtp.aliyun-inc.com; Fri, 02 Jun 2023 14:17:03 +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/amdgpu: clean up some inconsistent indenting Date: Fri, 2 Jun 2023 14:16:50 +0800 Message-Id: <20230602061650.115385-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=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,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 No functional modification involved. drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c:614 amdgpu_gfx_enable_kcq() warn: inconsistent indenting. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5377 Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c index a33d4bc34cee..37a8f43cf281 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c @@ -611,8 +611,7 @@ int amdgpu_gfx_enable_kcq(struct amdgpu_device *adev, int xcc_id) kiq->pmf->kiq_set_resources(kiq_ring, queue_mask); for (i = 0; i < adev->gfx.num_compute_rings; i++) { j = i + xcc_id * adev->gfx.num_compute_rings; - kiq->pmf->kiq_map_queues(kiq_ring, - &adev->gfx.compute_ring[j]); + kiq->pmf->kiq_map_queues(kiq_ring, &adev->gfx.compute_ring[j]); } r = amdgpu_ring_test_helper(kiq_ring); -- 2.20.1.7.g153144c