Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1896153ybn; Thu, 26 Sep 2019 03:58:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqz82JFlwOQndTQjQZ70CIcmR53ajtSqIUedYmjVNLPibDwh92eOqc9+C63r+Kwkd5njaM3J X-Received: by 2002:aa7:d611:: with SMTP id c17mr2898953edr.196.1569495538576; Thu, 26 Sep 2019 03:58:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569495538; cv=none; d=google.com; s=arc-20160816; b=hmQz4T4b40XftPr1gyVWtPh7yiwWtjrlEnhuOeqYMCOPfPy3gIgBm+XNUL8rHb/5wX ZRuWHRxoX9/vl7HDp+C60umzHhgq4+IKIuUkwIBAUNCTxE6gBmU9PEyV51sls2mGAvrx KqaxNjO8ZPx/Ls7JekG2G6vp3I5KDxWH/t4uTofq7ik02CGdLO4LfSuTk7qN3Jq1PLIN WoGTDEl8X7dx7zaPa00VUG0TSLEhWXtz/LapXgm6fRICQQdILtJ4otkFhxEMRg++nvVI J5Lx47tPEfLlzAF1rc61D3yrn7IQYJKwkmhmKk32rzapbuGonwKfsRC6y3jFQi1H1W3E cFfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=NRlt7zCAvlqBngyig7GfzhQfmy63Y1kbw52RAmTvjrw=; b=a1tYQ82I78uQF46UDGtjTNeh4Sx0STQoyCo6mcYTne2++lAjQPMfo6y2ptuhxNGk40 FLUC40aOuZRGqBwV3+GVe2xwGjko9kIc9D7EcUTwig9eGayAv0UfpriSFGel96M9uCfG 4uVGmUSllB/0Tbv8y9X9p39YvWd0YuNlRf446Emeg3o3iEMYuyEZkHi8K/GtiCmLgTsH 1IFpF3z0ceNnGS4YAzvdiVrIL9UBTtlwoHkpbfsprol9VGiVb/muybbFsFQ7wSqm/BbB EcFGhLPn5I7BQWeEp0EPEU8DoMS9K5PxJQZPTeYXRCVit70vODXcAQai9C5RQ5ill6nI pA6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i34si1081505ede.37.2019.09.26.03.58.35; Thu, 26 Sep 2019 03:58:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S2391634AbfIZCh2 (ORCPT + 99 others); Wed, 25 Sep 2019 22:37:28 -0400 Received: from mga07.intel.com ([134.134.136.100]:43690 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391561AbfIZCh1 (ORCPT ); Wed, 25 Sep 2019 22:37:27 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2019 19:37:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,550,1559545200"; d="scan'208";a="193985960" Received: from richard.sh.intel.com (HELO localhost) ([10.239.159.54]) by orsmga006.jf.intel.com with ESMTP; 25 Sep 2019 19:37:25 -0700 From: Wei Yang To: akpm@linux-foundation.org, willy@infradead.org, jglisse@redhat.com, rcampbell@nvidia.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Wei Yang Subject: [PATCH] mm: fix typo in the comment when calling function __SetPageUptodate() Date: Thu, 26 Sep 2019 10:37:05 +0800 Message-Id: <20190926023705.7226-1-richardw.yang@linux.intel.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are several places emphasise the effect of __SetPageUptodate(), while the comment seems to have a typo in two places. Signed-off-by: Wei Yang --- mm/memory.c | 2 +- mm/userfaultfd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index b1ca51a079f2..3ac2803d49b8 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -3009,7 +3009,7 @@ static vm_fault_t do_anonymous_page(struct vm_fault *vmf) /* * The memory barrier inside __SetPageUptodate makes sure that - * preceeding stores to the page contents become visible before + * preceding stores to the page contents become visible before * the set_pte_at() write. */ __SetPageUptodate(page); diff --git a/mm/userfaultfd.c b/mm/userfaultfd.c index 80834c644692..c153344774c7 100644 --- a/mm/userfaultfd.c +++ b/mm/userfaultfd.c @@ -90,7 +90,7 @@ static int mcopy_atomic_pte(struct mm_struct *dst_mm, /* * The memory barrier inside __SetPageUptodate makes sure that - * preceeding stores to the page contents become visible before + * preceding stores to the page contents become visible before * the set_pte_at() write. */ __SetPageUptodate(page); -- 2.17.1