Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp55678pxb; Tue, 12 Apr 2022 16:39:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyU4Gz91asLQSZNkeJxo09FL4AHyiCi7M2RwfWN1JXr6buvMqy2rNUCkw0LEk24xMOEsA5 X-Received: by 2002:a17:902:e94e:b0:154:3a4:c5e8 with SMTP id b14-20020a170902e94e00b0015403a4c5e8mr40281017pll.19.1649806791410; Tue, 12 Apr 2022 16:39:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649806791; cv=none; d=google.com; s=arc-20160816; b=zFoJJFDvtjbS9/JCL5CTsCLPqjZpP2/FHnt5l2drtpn24NVIz8En+lvfS4P2oUpkra cmgNmn4uGthYQIO2WuS+MzqLNvu6wnPlINVMKXHkhUmXvGZiQKpJ+eXmvLa1yW2cVNQW DL3iscJUPyeA94nVBG34GxPr+CSBwayRaIDzuvE5c3e769XJiHFjrgjl72skHoTIVbav rLRrFdEEDXWVpYtkZD1R7lQeEEYOZbnzlC+TkfczB1CsIt9KyY+Xp1m1hv1omtl1Okck 577A7F5Kt5D2ElCkraEXEzkYupzrEc1nFw6+JWxCMsNKObFxGyhNWBgLu0lnUsusuTto YiVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=juw7VzB56UKaB4KslRsPqKcKyA9IXYjsuIL6qC0OH24=; b=gt+MpRFWtES4I5P+zK3bW9oIOwOzYh9xkxihGbfwkYvMInEG53rHcLmDFUEOhGRsiu pqlImc6vvNxnrG4qEunRUFqrofcvaupl7dlqWr1XocWni9dr8JKIZ6qNgMKSl2dHv7DV HFwvHYrneUnUeOGN3Hx91HapEMEqXwSwMz0EGAm/hX3eAnPlhFlv95aNYG7GIP4+fXT7 HoHhyQJV+4pC/DIH+PWp4ZAc/3642o0PB2dm0HO7ZsoH8aMlv5Anb3snRieHYUnwG4wG eP65xdvpLCwCn8ZK0mCpj6vZHIF+tZpDQa2DV/30Ts97vjUcn/ESdvzDGPL3Hjtcx0Bp K7Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=IudAycwH; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q28-20020a63505c000000b0038224514dd9si3806484pgl.699.2022.04.12.16.39.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 16:39:51 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=IudAycwH; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 89627E9966; Tue, 12 Apr 2022 14:31:38 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354079AbiDLLIc (ORCPT + 99 others); Tue, 12 Apr 2022 07:08:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245267AbiDLLCg (ORCPT ); Tue, 12 Apr 2022 07:02:36 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90B0CB875; Tue, 12 Apr 2022 02:53:59 -0700 (PDT) Received: from zn.tnic (p200300ea97156149329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9715:6149:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 3135C1EC04EC; Tue, 12 Apr 2022 11:53:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1649757234; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=juw7VzB56UKaB4KslRsPqKcKyA9IXYjsuIL6qC0OH24=; b=IudAycwHR56V9u9XIIOAyDIMIL7rNI2FMyxnlVozrhoGkeqneIef3NdEUTbhXv6NK0xjP9 7CKVVuL+XcOPs8bZ6fV2nDhOY8dIZmvoOSpGmDN/xP+79eC2a01UgC2Ekv182YyGX1r+VW U+fOdZ9IYB+WeMkhUgTqBjwyw6NQT2I= Date: Tue, 12 Apr 2022 11:53:54 +0200 From: Borislav Petkov To: Jane Chu Cc: david@fromorbit.com, djwong@kernel.org, dan.j.williams@intel.com, hch@infradead.org, vishal.l.verma@intel.com, dave.jiang@intel.com, agk@redhat.com, snitzer@redhat.com, dm-devel@redhat.com, ira.weiny@intel.com, willy@infradead.org, vgoyal@redhat.com, linux-fsdevel@vger.kernel.org, nvdimm@lists.linux.dev, linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH v7 1/6] x86/mm: fix comment Message-ID: References: <20220405194747.2386619-1-jane.chu@oracle.com> <20220405194747.2386619-2-jane.chu@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220405194747.2386619-2-jane.chu@oracle.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_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 On Tue, Apr 05, 2022 at 01:47:42PM -0600, Jane Chu wrote: > There is no _set_memory_prot internal helper, while coming across > the code, might as well fix the comment. > > Reviewed-by: Christoph Hellwig > Signed-off-by: Jane Chu > --- > arch/x86/mm/pat/set_memory.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/mm/pat/set_memory.c b/arch/x86/mm/pat/set_memory.c > index abf5ed76e4b7..38af155aaba9 100644 > --- a/arch/x86/mm/pat/set_memory.c > +++ b/arch/x86/mm/pat/set_memory.c > @@ -1816,7 +1816,7 @@ static inline int cpa_clear_pages_array(struct page **pages, int numpages, > } > > /* > - * _set_memory_prot is an internal helper for callers that have been passed > + * __set_memory_prot is an internal helper for callers that have been passed > * a pgprot_t value from upper layers and a reservation has already been taken. > * If you want to set the pgprot to a specific page protocol, use the > * set_memory_xx() functions. > -- This is such a trivial change so that having it as a separate patch is probably not needed - might as well merge it with patch 3... Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette