Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4413400iog; Tue, 21 Jun 2022 20:11:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vAyfTwXVKkltGmGciGii2uczsvx9RHHEW94NtKDVdAMILokj4IBeDrWQf98cAvZ98bPgxU X-Received: by 2002:a17:906:7482:b0:722:edf9:e72f with SMTP id e2-20020a170906748200b00722edf9e72fmr1095706ejl.92.1655867479112; Tue, 21 Jun 2022 20:11:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655867479; cv=none; d=google.com; s=arc-20160816; b=DQOsj1+J1hFze3KXq0CO1T+FFzKZg2tpjTH2DYMfbt86Mbrcu8ZCRoOI1dSpOjNkBA nasNSQEoV4Z7NeeGFrF9yAMuRhJo+jv8ByBrJFL+QYwm8kAZU1SUbb3tZrFXSWVhEgD7 xBBeUIlqFV2r64jUtqldFNjKypkLDfiWr2z9GQXTe7hmjJsSDFrZulFzUqFRHNtwQaG6 gb4hL8Rju1CBoIWIeTmmqn2XY9rL8hjVtv0xnie72kqPF6T4DCdg033y9L5QAF61zOo5 7he3mvt4H5E4T5WuH2CsfBUXOXsd7dfMsIKh5ndAM51BuLOhS2ZVChfBsS7Ae03MrouL lRDQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dTYqj9mAnZeIN9yb63lGG293CukNEo458VhIHsHAKcQ=; b=WNIfD60YTYI8ssIDwRAT0Mrs4gUrb+VMmPQyQPje7j10mThqvmheYj8osujaISFUxb DZiXX6r+V+7q8b5HdaCFPK3CtSu0lt4E2wjSGE1UsDPG8xTFV7kmBls2sPgjza/Z0xje 2Vh6jjaKnvP0UVBUHS7yRn0epRxfA+xWS5UG2iJ/TwWgKKtHwCZI49XC/KTg71dNBhx/ 2ty/s3hlcE1aVcRo9v/OGpdwuE3gaPW5yv3N0NfqZQqr+yJWIPSMJsQRDp5NR0u42lK3 Xb0GTfngR5EmRoASmWYJNlJVMsZl+3OOB8A/lBq6EWPtvR2CPQLswrThjn+vHKSwxiWc JL0w== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n15-20020a05640206cf00b00435a0462186si2289461edy.315.2022.06.21.20.10.54; Tue, 21 Jun 2022 20:11:19 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356091AbiFVCoG (ORCPT + 99 others); Tue, 21 Jun 2022 22:44:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232424AbiFVCoE (ORCPT ); Tue, 21 Jun 2022 22:44:04 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 31A382DA89 for ; Tue, 21 Jun 2022 19:44:03 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 694DC1E80CD1; Wed, 22 Jun 2022 10:43:55 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g-aAP4y71aKv; Wed, 22 Jun 2022 10:43:52 +0800 (CST) Received: from localhost.localdomain (unknown [112.64.61.97]) (Authenticated sender: jiaming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id D94A21E80C7D; Wed, 22 Jun 2022 10:43:51 +0800 (CST) From: Zhang Jiaming To: airlied@linux.ie, daniel@ffwll.ch, joe@perches.com Cc: lyude@redhat.com, kherbst@redhat.com, bskeggs@redhat.com, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, liqiong@nfschina.com, renyu@nfschina.com, Zhang Jiaming Subject: [PATCH v2] drm/nouveau/mmu: Fix a typo Date: Wed, 22 Jun 2022 10:42:36 +0800 Message-Id: <20220622024236.12533-1-jiaming@nfschina.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220622015249.8390-1-jiaming@nfschina.com> References: <20220622015249.8390-1-jiaming@nfschina.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 There is a typo in comments. Change 'neeed' to 'needed'. Signed-off-by: Zhang Jiaming --- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c index 8bf00b396ec1..8b11dfa0998d 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c @@ -280,7 +280,7 @@ nvkm_vmm_unref_ptes(struct nvkm_vmm_iter *it, bool pfn, u32 ptei, u32 ptes) if (desc->type == SPT && (pgt->refs[0] || pgt->refs[1])) nvkm_vmm_unref_sptes(it, pgt, desc, ptei, ptes); - /* PT no longer neeed? Destroy it. */ + /* PT no longer needed? Destroy it. */ if (!pgt->refs[type]) { it->lvl++; TRA(it, "%s empty", nvkm_vmm_desc_type(desc)); -- 2.25.1