From patchwork Wed May 31 02:08:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 101185 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2594696vqr; Tue, 30 May 2023 19:33:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5iVda48MinsXY8LUxZhxpYc5a0jih7U/ohGrkw0KzIwUQ2Sl6YfcixT58hAAT0v8GaR17/ X-Received: by 2002:a17:90b:1d0d:b0:252:94b5:36f1 with SMTP id on13-20020a17090b1d0d00b0025294b536f1mr3824798pjb.27.1685500402438; Tue, 30 May 2023 19:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685500402; cv=none; d=google.com; s=arc-20160816; b=QJM4CF+dkvghxOYodo7WoMIA3HyqBi2GiNjbU1/bFIawm4Y8TRxUIwDtmJ76e745C8 oI0JDCUZZsQalUMcEOkn1P/M1A01msNabdMFJ/914HT915nWRhJbPPZKr67/9HpPXvkJ ZImCnTnu0w1IokF8/S1diMp60j73pywEPuBmP6AWcPfN8D28NjZlKVIWIbZ4UXZu2hDT nHDX3apXrvV+JcTK1GQxU9xCJC4kIqFHRB3RlhR8OUWIFtGOma28YfoaBhKGrr3YZfDL QAvoOgjADaQa7ERUKAS0FuNOMjC6HzIopUv/51hFsEaxFf3xFvBsic9s3YPHPecMBX69 558A== 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=ss9PeV1eRwkiks1zP5DemudHpi1MHgBAQoY+Int/eSg=; b=YKtE4UjrW0GiBh61yZ4EqkK3ch/s2gEroA6fZhbiINteM/OSb9uzCo7qNVzzzr8T5f ByHw5m2kKFTWvKFxJqvXvySUH5PHB1Hu2HUXa4vJNBvbC7eNFSUSy0EN1k7D+Bx/GY+v pbC/LPnojfpSXdFxh5Vsy1ePjK2Fo8ErjJTXZUJGH2OvwzSm7XV/DE7OdGjRsuR5PPGM gHr5wficA2QeBqqcrtU+/8Xto1HzHGtVxjC67oBwvSiXY3Lirhxxn7iPWzTj8eI8jf0s eUqRLu2BuJE7cirbX+f4IHMMevy4iIybO1WLRjkXYGO7RuN+tidILjYp2mpwl6x9xALC 8MNw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o25-20020a637319000000b0053fb8af6188si86545pgc.881.2023.05.30.19.33.09; Tue, 30 May 2023 19:33: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 S233675AbjEaCIU (ORCPT + 99 others); Tue, 30 May 2023 22:08:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231656AbjEaCIT (ORCPT ); Tue, 30 May 2023 22:08:19 -0400 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 816C810E for ; Tue, 30 May 2023 19:08:16 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0VjvWs8S_1685498892; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VjvWs8S_1685498892) by smtp.aliyun-inc.com; Wed, 31 May 2023 10:08:13 +0800 From: Yang Li To: airlied@gmail.com Cc: daniel@ffwll.ch, alexander.deucher@amd.com, Felix.Kuehling@amd.com, christian.koenig@amd.com, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next] drm/amdkfd: clean up one inconsistent indenting Date: Wed, 31 May 2023 10:08:11 +0800 Message-Id: <20230531020811.110744-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 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,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767375269851476578?= X-GMAIL-MSGID: =?utf-8?q?1767375269851476578?= drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:1036 kgd2kfd_interrupt() warn: inconsistent indenting Signed-off-by: Yang Li Reviewed-by: Felix Kuehling --- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c index 862a50f7b490..0398a8c52a44 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c @@ -1033,7 +1033,7 @@ void kgd2kfd_interrupt(struct kfd_dev *kfd, const void *ih_ring_entry) is_patched ? patched_ihre : ih_ring_entry)) { kfd_queue_work(node->ih_wq, &node->interrupt_work); spin_unlock_irqrestore(&node->interrupt_lock, flags); - return; + return; } spin_unlock_irqrestore(&node->interrupt_lock, flags); }