Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp223584pxb; Mon, 11 Apr 2022 23:46:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbwjNeEqIhYfKmMcgLJHszLfDG2SQok5u4eW4f37tv7iZ+6qlhjI2L5hw4pihlhdpqNTs2 X-Received: by 2002:a17:902:b10e:b0:156:1bf8:bf26 with SMTP id q14-20020a170902b10e00b001561bf8bf26mr36333661plr.8.1649745999201; Mon, 11 Apr 2022 23:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649745999; cv=none; d=google.com; s=arc-20160816; b=iyRFa0CzkorsyxqMzaUPS82dTTjFP4OZLZnExf6w647DLJAJ6uQ4I9cSq02VscFQu3 yx0uvRNoV7KVmPypdEPTts6zuMFKmwVaMmkvh7pTc8vLZekbwHrPzusF17L2CSiLr5/p oXdTJjcyWeBh3UCrfKp3J+1V1j3+mRBSuSnRXuyXkNoB5hhbOGMDwT/G5DU6FE4SQllZ n/YfvfNQgPXV/dyUgcf/2NKUxr4sEg1AQUUVP4DJvtmCemWNn06gdQmmW7t58HXlsnk2 Lx1BZWMsk7PmeC+oWYADOadVerNPk899wFF2eA32fyRPvfnQ18e1BBa03T9aXbkKpHGa veEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=uGTALhbZONK07EnTqNzLb5OFo7sOJ1WnH/JS/fksxZ4=; b=DBH9NOcNpx+H+Z86GSXRdHAe/QQGPpKUWwSYZYEN3L7AepC1naLyzSgG5IYJYLDlLq Ik5pF1daF4A6SapWCFPw0QV3/Jwis2wbcJfe48AlKR7dNRlIEWUAyBTieRYtvU5ISJhb 1CMAYQUgB7QAWFNsIwCNk8PIzasBBV1188GraMv8SwC6vdeIxIKcwMbMzlOdlsXSyePf kcs8eu2W50q7mmTLfJ1AeTFy4Bg8UD4h3Cd1GMPiDowZMN6USXNKDTrdxmOc1oWEuBf1 tyGwfJmdBmbt5hcWTU76p5y7m2YNY19neChLb5QMLcA8cAQhqkfQhSB0r3g3fJet3uN8 msgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20210112.gappssmtp.com header.s=20210112 header.b=qW44w090; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e11-20020a63aa0b000000b003820d821f00si1758851pgf.473.2022.04.11.23.46.25; Mon, 11 Apr 2022 23:46:39 -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; dkim=pass header.i=@intel-com.20210112.gappssmtp.com header.s=20210112 header.b=qW44w090; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347959AbiDKWJj (ORCPT + 99 others); Mon, 11 Apr 2022 18:09:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344427AbiDKWJh (ORCPT ); Mon, 11 Apr 2022 18:09:37 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C0F321265 for ; Mon, 11 Apr 2022 15:07:21 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id bx5so16486859pjb.3 for ; Mon, 11 Apr 2022 15:07:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uGTALhbZONK07EnTqNzLb5OFo7sOJ1WnH/JS/fksxZ4=; b=qW44w090em7gPbYvbMftkAX4Kvke2EP4xsZopvyQYxJet+uD2q9FrkvME10M9tUtmO X0ArALnU4GOM4RpFLYtr4bx0MpBZA554kHWbufBfTUNaqHhLHDjr51XHQdOPMxkQgCXg NV0mdNXOuzxeZUNmauE//Xw4ily3/UjO/MvX7UN7+CVRdmJUV6HF15N4VgrrGumDREwQ mQr7NBQxJVjAKI7QuaN+TbxUCnrDwve7/GDCashxgzsy+utUcS00v8RMdQzi18ZQO+sj C3gytJIJs+P+LCAmm5F7B8ZgvVAvSUSOeGPK1NcM/2jE17EGM2aXjbAO22u5NH5fWlQJ NrxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uGTALhbZONK07EnTqNzLb5OFo7sOJ1WnH/JS/fksxZ4=; b=Dp9nXl5+xrAgJfUHnjK8vN+ltIjXO/8ALXoVavTgIfL8jn2jEFRcWAa0BoEO7IB4Hn pby6GeUQ6ap1+pwlOWyOZnjmJE6WX343NO6UJUooABQpczxu9lYLGb2jiqXV5dnZ7NeM wiLhbL7N9/fzgYXNEPPySP3+Rr+oRphue0+XLMeMZd5/fnSJSuiWKyEO73qNOURy+lHJ kf1RD4uv0mzpnVV9xJ6qFvYyqizN/LPgrX1WaSkPWh/lsej+Lh0BRWHhVy/Qd56uWr9W tbwVUYK8D5ZTTNvig5TgxTSWwL3dV3SmljSmRiTeCMUol4clKbwDg9L+tDAnIwF3yUrF 9BIg== X-Gm-Message-State: AOAM532CnENh5UNYCXYZ6+X89SPUv7iVPWDM6MlS4aN0Zu7UWFUQy150 lRVMbc3Dx7Sc4Jy3EgV4UBA3uYjVZAb4iRfh0kVTXQ== X-Received: by 2002:a17:902:eb92:b0:158:4cc9:698e with SMTP id q18-20020a170902eb9200b001584cc9698emr11070951plg.147.1649714840717; Mon, 11 Apr 2022 15:07:20 -0700 (PDT) MIME-Version: 1.0 References: <20220405194747.2386619-1-jane.chu@oracle.com> <20220405194747.2386619-2-jane.chu@oracle.com> In-Reply-To: <20220405194747.2386619-2-jane.chu@oracle.com> From: Dan Williams Date: Mon, 11 Apr 2022 15:07:10 -0700 Message-ID: Subject: Re: [PATCH v7 1/6] x86/mm: fix comment To: Jane Chu Cc: david , "Darrick J. Wong" , Christoph Hellwig , Vishal L Verma , Dave Jiang , Alasdair Kergon , Mike Snitzer , device-mapper development , "Weiny, Ira" , Matthew Wilcox , Vivek Goyal , linux-fsdevel , Linux NVDIMM , Linux Kernel Mailing List , linux-xfs , X86 ML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 5, 2022 at 12:48 PM Jane Chu wrote: > > There is no _set_memory_prot internal helper, while coming across > the code, might as well fix the comment. Looks good, Reviewed-by: Dan Williams > > 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. > -- > 2.18.4 >