From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3vGw7p2pTPzDqDy for ; Mon, 6 Feb 2017 15:52:37 +1100 (AEDT) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v164mcsP099632 for ; Sun, 5 Feb 2017 23:52:34 -0500 Received: from e23smtp01.au.ibm.com (e23smtp01.au.ibm.com [202.81.31.143]) by mx0b-001b2d01.pphosted.com with ESMTP id 28e43peuuk-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Sun, 05 Feb 2017 23:52:33 -0500 Received: from localhost by e23smtp01.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 6 Feb 2017 14:52:31 +1000 Received: from d23relay08.au.ibm.com (d23relay08.au.ibm.com [9.185.71.33]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id B619F2BB0057 for ; Mon, 6 Feb 2017 15:52:28 +1100 (EST) Received: from d23av06.au.ibm.com (d23av06.au.ibm.com [9.190.235.151]) by d23relay08.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v164qKr728835956 for ; Mon, 6 Feb 2017 15:52:28 +1100 Received: from d23av06.au.ibm.com (localhost [127.0.0.1]) by d23av06.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id v164puqo020730 for ; Mon, 6 Feb 2017 15:51:56 +1100 Date: Mon, 6 Feb 2017 15:51:31 +1100 From: Gavin Shan To: "Aneesh Kumar K.V" Cc: Gavin Shan , linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au Subject: Re: [PATCH] powerpc/mm: Fix typo in set_pte_at() Reply-To: Gavin Shan References: <1486340396-24609-1-git-send-email-gwshan@linux.vnet.ibm.com> <87tw88gi96.fsf@skywalker.in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <87tw88gi96.fsf@skywalker.in.ibm.com> Message-Id: <20170206045131.GA22716@gwshan> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Feb 06, 2017 at 08:03:57AM +0530, Aneesh Kumar K.V wrote: >Gavin Shan writes: > >> This fixes the typo about the _PAGE_PTE in set_pte_at() by changing >> "tryint" to "trying to". >> >> Fixes: 6a119eae942 ("powerpc/mm: Add a _PAGE_PTE bit") > >I guess this is not needed. We add that when we want to hint whether the >patch needs backporting. > Thanks for review. I used the tag to indicate the commit introducing the typo. For this trivial patch, we won't backport it to table or distro. If you want, I can drop the tag or Michael helps to drop it when merging it. Thanks, Gavin > >> Signed-off-by: Gavin Shan >> --- >> arch/powerpc/mm/pgtable.c | 4 +--- >> 1 file changed, 1 insertion(+), 3 deletions(-) >> >> diff --git a/arch/powerpc/mm/pgtable.c b/arch/powerpc/mm/pgtable.c >> index cb39c8b..a03ff3d 100644 >> --- a/arch/powerpc/mm/pgtable.c >> +++ b/arch/powerpc/mm/pgtable.c >> @@ -193,9 +193,7 @@ void set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, >> */ >> VM_WARN_ON(pte_present(*ptep) && !pte_protnone(*ptep)); >> >> - /* >> - * Add the pte bit when tryint set a pte >> - */ >> + /* Add the pte bit when trying to set a pte */ >> pte = __pte(pte_val(pte) | _PAGE_PTE); >> >> /* Note: mm->context.id might not yet have been assigned as >> -- >> 2.7.4