From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756104AbYFBXqT (ORCPT ); Mon, 2 Jun 2008 19:46:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754561AbYFBXqL (ORCPT ); Mon, 2 Jun 2008 19:46:11 -0400 Received: from ozlabs.org ([203.10.76.45]:43565 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753876AbYFBXqJ (ORCPT ); Mon, 2 Jun 2008 19:46:09 -0400 From: Rusty Russell To: Jeremy Fitzhardinge Subject: Re: [PATCH] mm: fix comment formatting in asm-generic/pgtable.h:__ptep_modify_prot_ Date: Tue, 3 Jun 2008 09:45:59 +1000 User-Agent: KMail/1.9.9 Cc: Ingo Molnar , LKML , x86@kernel.org, xen-devel , Thomas Gleixner , Hugh Dickins , Zachary Amsden , kvm-devel , Virtualization Mailing List , Peter Zijlstra , Linus Torvalds References: <20080602111339.GB18586@elte.hu> <4843EF6A.20305@goop.org> In-Reply-To: <4843EF6A.20305@goop.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806030946.00434.rusty@rustcorp.com.au> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 02 June 2008 23:02:34 Jeremy Fitzhardinge wrote: > Signed-off-by: Jeremy Fitzhardinge > --- > include/asm-generic/pgtable.h | 14 +++++++++----- > 1 file changed, 9 insertions(+), 5 deletions(-) > > =================================================================== > --- a/include/asm-generic/pgtable.h > +++ b/include/asm-generic/pgtable.h > @@ -201,9 +201,11 @@ > unsigned long addr, > pte_t *ptep) > { > - /* Get the current pte state, but zero it out to make it > - non-present, preventing the hardware from asynchronously > - updating it. */ > + /* > + * Get the current pte state, but zero it out to make it > + * non-present, preventing the hardware from asynchronously > + * updating it. > + */ Since there is debate over whether winged comments are a feature, I'm not sure this can be termed a "fix". > { > - /* The pte is non-present, so there's no hardware state to > - preserve. */ > + /* > + * The pte is non-present, so there's no hardware state to > + * preserve. > + */ > set_pte_at(mm, addr, ptep, pte); > } This will fit in one line, no? Rusty.